summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-09-22 22:02:59 +0200
committerGravatar GitHub <noreply@github.com> 2025-09-22 22:02:59 +0200
commit833007f5860deae232bacf321d268124123d6749 (patch)
treebe6e18023f5e127545ab8cc1ef743a3a7e0c12ae /tests
parentaadbdabd8329d7dec43f71e15e3433fa8fe5e4d4 (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/app/Models/UserQueryTest.php1
-rw-r--r--tests/cli/CliOptionsParserTest.php1
2 files changed, 2 insertions, 0 deletions
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';