From b064608ce9be661d9f0012cac176d63c42b34c32 Mon Sep 17 00:00:00 2001 From: Dawid Parafinski Date: Thu, 17 Sep 2026 17:27:05 +0200 Subject: [PATCH 1/2] IBX-12606: Replaced the Symfony deprecation thresholds with PHPUnit's native deprecation gate --- phpunit.baseline.xml | 2 ++ phpunit.xml.dist | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 phpunit.baseline.xml diff --git a/phpunit.baseline.xml b/phpunit.baseline.xml new file mode 100644 index 0000000..f33abb6 --- /dev/null +++ b/phpunit.baseline.xml @@ -0,0 +1,2 @@ + + diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 33d1806..3c78320 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -4,10 +4,17 @@ cacheDirectory=".phpunit.cache" bootstrap="vendor/autoload.php" failOnWarning="true" + failOnDeprecation="true" + displayDetailsOnTestsThatTriggerDeprecations="true" colors="true"> tests/rules + + + rules + + From 59e2d6fbecd41b6c481661725ac20905e597b7ee Mon Sep 17 00:00:00 2001 From: Dawid Parafinski Date: Fri, 18 Sep 2026 16:10:41 +0200 Subject: [PATCH 2/2] IBX-12606: Failed test runs on PHP notices and warnings to keep the PHPUnit 9 convert*ToExceptions strictness --- phpunit.xml.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3c78320..095c6a2 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -4,6 +4,7 @@ cacheDirectory=".phpunit.cache" bootstrap="vendor/autoload.php" failOnWarning="true" + failOnNotice="true" failOnDeprecation="true" displayDetailsOnTestsThatTriggerDeprecations="true" colors="true">