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

This commit is contained in:
odain
2025-11-07 20:39:38 +01:00
parent 7681c157ec
commit b0a792afab
369 changed files with 22041 additions and 26866 deletions

View File

@@ -1,10 +1,9 @@
<?php
SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'itop-config/3.3.0',
array(
[
// Identification
//
'label' => 'Configuration editor',
@@ -12,27 +11,27 @@ SetupWebPage::AddModule(
// Setup
//
'dependencies' => array(),
'dependencies' => [],
'mandatory' => true,
'visible' => false,
// Components
//
'datamodel' => array(
'datamodel' => [
'src/Validator/ConfigNodesVisitor.php',
'src/Validator/iTopConfigAstValidator.php',
'src/Validator/iTopConfigSyntaxValidator.php',
'src/Validator/iTopConfigValidator.php',
'src/Controller/ConfigEditorController.php',
),
'webservice' => array(),
'dictionary' => array(
],
'webservice' => [],
'dictionary' => [
'en.dict.itop-config.php',
'fr.dict.itop-config.php',
),
'data.struct' => array(),
'data.sample' => array(),
],
'data.struct' => [],
'data.sample' => [],
// Documentation
//
'doc.manual_setup' => '',
@@ -40,6 +39,6 @@ SetupWebPage::AddModule(
// Default settings
//
'settings' => array(),
)
'settings' => [],
]
);