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 (C) 2013-2024 Combodo SAS
* This file is part of iTop.
@@ -14,10 +15,16 @@
*/
namespace {
class ChildException extends Exception {};
class GrandChildException extends ChildException {};
class ChildException extends Exception
{
};
class GrandChildException extends ChildException
{
};
}
namespace Namespaced\Exception {
class ExceptionInNamespace extends \ChildException {}
class ExceptionInNamespace extends \ChildException
{
}
}