From 833007f5860deae232bacf321d268124123d6749 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 22 Sep 2025 22:02:59 +0200 Subject: Upgrade to PHP_CodeSniffer 4 (#7993) https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Version-4.0-User-Upgrade-Guide A couple of rules have changed name. Exclusion paths have slightly changed behaviour. Main change is that it was unhappy with our i18n header comments, so minor edit there, since that rule kind of makes sense the rest of the time --- tests/app/Models/UserQueryTest.php | 1 + tests/cli/CliOptionsParserTest.php | 1 + 2 files changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/app/Models/UserQueryTest.php b/tests/app/Models/UserQueryTest.php index 3017f7897..6f5f7da16 100644 --- a/tests/app/Models/UserQueryTest.php +++ b/tests/app/Models/UserQueryTest.php @@ -2,6 +2,7 @@ declare(strict_types=1); use PHPUnit\Framework\TestCase; + /** * Description of UserQueryTest */ diff --git a/tests/cli/CliOptionsParserTest.php b/tests/cli/CliOptionsParserTest.php index 2fe0b7924..b63225d93 100644 --- a/tests/cli/CliOptionsParserTest.php +++ b/tests/cli/CliOptionsParserTest.php @@ -2,6 +2,7 @@ declare(strict_types=1); use PHPUnit\Framework\TestCase; + require_once dirname(__DIR__, 2) . '/cli/CliOption.php'; require_once dirname(__DIR__, 2) . '/cli/CliOptionsParser.php'; -- cgit v1.2.3