Some attributes being used in the phpunit configuration files, namely failOnRisky and failOnWarning were introduced in phpunit 5.2.0. The Composer configuration shows that tests should run with old versions of phpunit, but phpunit only validates the configuration against the XSD since phpunit 7.2.0. These changes can be tested as follows: wget http://schema.phpunit.de/5.2/phpunit.xsd xargs xmllint --schema phpunit.xsd 1>/dev/null find src -name phpunit.xml.dist| xargs xmllint --schema phpunit.xsd 1>/dev/null See7e06a82806
See46e3745a03/composer.json (L98)
68 lines
2.5 KiB
XML
68 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.2/phpunit.xsd"
|
|
backupGlobals="false"
|
|
colors="true"
|
|
bootstrap="vendor/autoload.php"
|
|
failOnRisky="true"
|
|
failOnWarning="true"
|
|
>
|
|
<php>
|
|
<ini name="error_reporting" value="-1" />
|
|
<ini name="intl.default_locale" value="en" />
|
|
<ini name="intl.error_level" value="0" />
|
|
<ini name="memory_limit" value="-1" />
|
|
</php>
|
|
|
|
<testsuites>
|
|
<testsuite name="Symfony Test Suite">
|
|
<directory>./src/Symfony/Bridge/*/Tests/</directory>
|
|
<directory>./src/Symfony/Component/*/Tests/</directory>
|
|
<directory>./src/Symfony/Component/*/*/Tests/</directory>
|
|
<directory>./src/Symfony/Bundle/*/Tests/</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
|
|
<groups>
|
|
<exclude>
|
|
<group>benchmark</group>
|
|
<group>intl-data</group>
|
|
</exclude>
|
|
</groups>
|
|
|
|
<filter>
|
|
<whitelist>
|
|
<directory>./src/Symfony/</directory>
|
|
<exclude>
|
|
<directory>./src/Symfony/Bridge/*/Tests</directory>
|
|
<directory>./src/Symfony/Component/*/Tests</directory>
|
|
<directory>./src/Symfony/Component/*/*/Tests</directory>
|
|
<directory>./src/Symfony/Bundle/*/Tests</directory>
|
|
<directory>./src/Symfony/Bundle/*/Resources</directory>
|
|
<directory>./src/Symfony/Component/*/Resources</directory>
|
|
<directory>./src/Symfony/Component/*/*/Resources</directory>
|
|
<directory>./src/Symfony/Bridge/*/vendor</directory>
|
|
<directory>./src/Symfony/Bundle/*/vendor</directory>
|
|
<directory>./src/Symfony/Component/*/vendor</directory>
|
|
<directory>./src/Symfony/Component/*/*/vendor</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
|
|
<listeners>
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
|
|
<arguments>
|
|
<array>
|
|
<element key="time-sensitive">
|
|
<array>
|
|
<element><string>Symfony\Component\Console</string></element>
|
|
<element><string>Symfony\Component\HttpFoundation</string></element>
|
|
</array>
|
|
</element>
|
|
</array>
|
|
</arguments>
|
|
</listener>
|
|
</listeners>
|
|
</phpunit>
|