From 93587cece0c207138574df31f340b5d070087807 Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Wed, 26 Aug 2026 20:12:19 +0930 Subject: [PATCH 1/3] chore(ci): reformat phpunit.xml Signed-off-by: Phillip Davis --- tests/phpunit.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/phpunit.xml b/tests/phpunit.xml index f79e4a0..3284dd2 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -1,5 +1,14 @@ - + HTTP/ From 9448b7027f62ae568009d6fee49497b71efc6ff6 Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Wed, 26 Aug 2026 20:12:55 +0930 Subject: [PATCH 2/3] chore(ci): add failOnDeprecation to PHPunit config Signed-off-by: Phillip Davis --- tests/phpunit.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 3284dd2..c1558f6 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -5,6 +5,7 @@ beStrictAboutTestsThatDoNotTestAnything="true" failOnRisky="true" failOnWarning="true" + failOnDeprecation="true" bootstrap="bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" beStrictAboutCoverageMetadata="true" From 66f0204d7853131f501d98e5de7baffc0b28b1ca Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Wed, 26 Aug 2026 20:21:35 +0930 Subject: [PATCH 3/3] chore(ci): use simpler rawMessage in phpstan config Signed-off-by: Phillip Davis --- phpstan.neon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 97e6a2a..703af1c 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -2,15 +2,15 @@ parameters: level: 6 ignoreErrors: - - message: "#^Strict comparison using !== between '' and non-empty-string will always evaluate to true.$#" + rawMessage: "Strict comparison using !== between '' and non-empty-string will always evaluate to true." count: 1 path: lib/Auth/Digest.php - - message: "#^Casting to string something that's already string.$#" + rawMessage: "Casting to string something that's already string." count: 1 path: lib/Sapi.php - - message: "#^Strict comparison using === between null and array will always evaluate to false.$#" + rawMessage: "Strict comparison using === between null and array will always evaluate to false." count: 1 path: lib/functions.php -