Add php-cs-fixer

This commit is contained in:
Rom1-B
2025-06-27 08:22:27 +02:00
parent e283c254cd
commit c5e110fc73
32 changed files with 3774 additions and 1864 deletions

View File

@@ -35,13 +35,13 @@
use GlpiPlugin\Example\Example;
include ('../../../inc/includes.php');
include('../../../inc/includes.php');
Session::checkRight(Example::$rightname, READ);
if ($_SESSION["glpiactiveprofile"]["interface"] == "central") {
Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, "");
if ($_SESSION['glpiactiveprofile']['interface'] == 'central') {
Html::header('TITRE', $_SERVER['PHP_SELF'], 'plugins', Example::class, '');
} else {
Html::helpHeader("TITRE", $_SERVER['PHP_SELF']);
Html::helpHeader('TITRE', $_SERVER['PHP_SELF']);
}