Run extension tests with PHPUnit directly and fail on deprecations

This commit is contained in:
Fabien Potencier
2026-10-25 07:33:38 +01:00
parent 4bfa0d9141
commit ab9efdeff3
21 changed files with 34 additions and 69 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="vendor/autoload.php" failOnRisky="true" failOnWarning="true">
<coverage>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="vendor/autoload.php" failOnDeprecation="true" failOnNotice="true" failOnRisky="true" failOnWarning="true">
<source ignoreSuppressionOfDeprecations="true">
<include>
<directory>./</directory>
</include>
@@ -8,7 +8,7 @@
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</coverage>
</source>
<php>
<ini name="error_reporting" value="-1"/>
</php>