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
@@ -50,7 +51,6 @@ class BlockLinkSetDisplayAsProperty extends UIContentBlock
/** @var string $sUIPage UI page */
private string $sUIPage;
/**
* Constructor.
*
@@ -133,7 +133,7 @@ class BlockLinkSetDisplayAsProperty extends UIContentBlock
// Friendly name
$sFriendlyNameForHtml = utils::HtmlEntities($aItem['friendlyname']);
// Full description
$sFullDescriptionForHtml = utils::HtmlEntities($aItem['full_description']);
@@ -163,4 +163,4 @@ class BlockLinkSetDisplayAsProperty extends UIContentBlock
."pages/$this->sUIPage?operation=details&class=$this->sTargetClass&id=$id$this->sAppContext"
.'" target="_self"';
}
}
}

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SAS
*
@@ -39,7 +40,6 @@ use iDBObjectSetIterator;
*/
class LinkSetUIBlockFactory extends SetUIBlockFactory
{
/**
* Make a link set block.
*
@@ -131,4 +131,4 @@ class LinkSetUIBlockFactory extends SetUIBlockFactory
return $oSetUIBlock;
}
}
}