diff --git a/flight/Flight.php b/flight/Flight.php index 6d4307b..c2e9a01 100644 --- a/flight/Flight.php +++ b/flight/Flight.php @@ -83,6 +83,7 @@ require_once __DIR__ . '/autoload.php'; * Note: IDEs will use standard @method tags for autocompletion, * while PHPStan will use @phpstan-* tags for advanced type checking. */ +// phpcs:ignore PSR1.Classes.ClassDeclaration.MissingNamespace class Flight { /** diff --git a/flight/util/ReturnTypeWillChange.php b/flight/util/ReturnTypeWillChange.php index 4e27e1c..c53faa3 100644 --- a/flight/util/ReturnTypeWillChange.php +++ b/flight/util/ReturnTypeWillChange.php @@ -3,6 +3,7 @@ declare(strict_types=1); // This file is only here so that the PHP8 attribute for doesn't throw an error in files +// phpcs:ignore PSR1.Classes.ClassDeclaration.MissingNamespace class ReturnTypeWillChange { // diff --git a/tests/named-arguments/ExampleClass.php b/tests/named-arguments/ExampleClass.php index d91dd64..508068c 100644 --- a/tests/named-arguments/ExampleClass.php +++ b/tests/named-arguments/ExampleClass.php @@ -2,6 +2,7 @@ declare(strict_types=1); +// phpcs:ignore PSR1.Classes.ClassDeclaration.MissingNamespace class ExampleClass { //