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
/*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
@@ -6,7 +7,6 @@
namespace Combodo\iTop\Core\MetaModel;
/**
* Class FriendlyNameType
*
@@ -23,4 +23,4 @@ class FriendlyNameType
public const COMPLEMENTARY = 'compl';
/** @var string long friendly name made whith short + complementary data*/
public const LONG = 'long';
}
}

View File

@@ -1,4 +1,5 @@
<?php
/*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
@@ -17,8 +18,8 @@ use MetaModel;
* @package Combodo\iTop\Core\MetaModel
* @since 3.0.0 N°2527
*/
class HierarchicalKey {
class HierarchicalKey
{
/**
* Verify that an HK control information is correct
* @param $sClass
@@ -126,4 +127,4 @@ class HierarchicalKey {
return [$aControlByParent, $aControlById];
}
}
}