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,16 +1,17 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
* @author Benjamin Planque <benjamin.planque@combodo.com>
*
*/
Dict::Add('IT IT', 'Italian', 'Italiano', array(
Dict::Add('IT IT', 'Italian', 'Italiano', [
'portal:itop-portal' => 'Portale Standard',
'Page:DefaultTitle' => '%1$s - Portale Utente',
'Brick:Portal:UserProfile:Title' => 'Il mio profilo',
@@ -26,4 +27,4 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Brick:Portal:ListAllRequests:Tab' => 'On-going and closed~~',
'Brick:Portal:SearchInAllRequests:Title' => 'Cerca in tutte le richieste',
'Brick:Portal:SearchInAllRequests:Title+' => '<p>A prescindere dal loro stato.</p>',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SAS
*
@@ -20,35 +21,36 @@
/** @noinspection PhpUnhandledExceptionInspection */
SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'itop-portal/3.3.0', array(
'itop-portal/3.3.0',
[
// Identification
'label' => 'Enhanced Customer Portal',
'category' => 'Portal',
// Setup
'dependencies' => array(
'itop-portal-base/2.7.0'
),
'dependencies' => [
'itop-portal-base/2.7.0',
],
'mandatory' => false,
'visible' => true,
// Components
'datamodel' => array(
'datamodel' => [
'main.itop-portal.php',
),
'webservice' => array(
],
'webservice' => [
//'webservices.itop-portal.php',
),
],
'data.struct' => array(
'data.struct' => [
//'data.struct.itop-portal.xml',
),
'data.sample' => array(
],
'data.sample' => [
//'data.sample.itop-portal.xml',
),
],
// Documentation
'doc.manual_setup' => '',
'doc.more_information' => '',
// Default settings
'settings' => array(
),
)
'settings' => [
],
]
);