N°8796 - Add PHP code style validation in iTop and extensions - format whole code base

This commit is contained in:
odain
2025-11-07 15:39:53 +01:00
parent 12f23113f5
commit 890a2568c8
2110 changed files with 53099 additions and 63885 deletions

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -21,15 +22,15 @@
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id',
'Class:LogicalInterface/Attribute:org_id+' => '',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -21,6 +22,6 @@
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('EN GB', 'British English', 'British English', array(
Dict::Add('EN GB', 'British English', 'British English', [
// Dictionary entries go here
));
]);

View File

@@ -1,21 +1,22 @@
<?php
/**
* Spanish Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
* @author Miguel Turrubiates <miguel_tf@yahoo.com>
* @notas Utilizar codificación UTF-8 para mostrar acentos y otros caracteres especiales
* @notas Utilizar codificación UTF-8 para mostrar acentos y otros caracteres especiales
*/
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('FR FR', 'French', 'Français', array(
Dict::Add('FR FR', 'French', 'Français', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('FR FR', 'French', 'Français', array(
Dict::Add('FR FR', 'French', 'Français', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
Dict::Add('HU HU', 'Hungarian', 'Magyar', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
Dict::Add('HU HU', 'Hungarian', 'Magyar', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('IT IT', 'Italian', 'Italiano', array(
Dict::Add('IT IT', 'Italian', 'Italiano', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('IT IT', 'Italian', 'Italiano', array(
Dict::Add('IT IT', 'Italian', 'Italiano', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('JA JP', 'Japanese', '日本語', array(
Dict::Add('JA JP', 'Japanese', '日本語', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('JA JP', 'Japanese', '日本語', array(
Dict::Add('JA JP', 'Japanese', '日本語', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,10 +1,11 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
* @author Erwan Taloc <erwan.taloc@combodo.com>
@@ -12,15 +13,15 @@
* @author Denis Flaven <denis.flaven@combodo.com>
*
*/
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('PL PL', 'Polish', 'Polski', array(
Dict::Add('PL PL', 'Polish', 'Polski', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('PL PL', 'Polish', 'Polski', array(
Dict::Add('PL PL', 'Polish', 'Polski', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
Dict::Add('PT BR', 'Brazilian', 'Brazilian', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
Dict::Add('PT BR', 'Brazilian', 'Brazilian', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,24 +1,25 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
* @author Vladimir Kunin <v.b.kunin@gmail.com>
*
*/
Dict::Add('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
Dict::Add('SK SK', 'Slovak', 'Slovenčina', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
Dict::Add('SK SK', 'Slovak', 'Slovenčina', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,15 +21,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
// Dictionary entries go here
));
]);
//
// Class: LogicalInterface
//
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'Class:LogicalInterface/Attribute:org_id' => 'Org id~~',
'Class:LogicalInterface/Attribute:org_id+' => '~~',
));
]);