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 SARL
* @license http://opensource.org/licenses/AGPL-3.0
@@ -19,7 +20,8 @@ use utils;
* @internal
* @since 3.2.0 N°5472 creation
*/
class ActionController extends AbstractController {
class ActionController extends AbstractController
{
public const ROUTE_NAMESPACE = 'notifications.action';
/**
@@ -30,7 +32,7 @@ class ActionController extends AbstractController {
public function OperationLastExecutionsTab()
{
$sActionId = utils::ReadParam('action_id', null, false);
$sCannotLoadActionErrorMessage = __METHOD__ . ': invalid action_id parameter';
$sCannotLoadActionErrorMessage = __METHOD__.': invalid action_id parameter';
if (utils::IsNullOrEmptyString($sActionId)) {
throw new CoreUnexpectedValue($sCannotLoadActionErrorMessage);
}
@@ -45,4 +47,4 @@ class ActionController extends AbstractController {
return $oPage;
}
}
}