4dce4b7c30
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)
41 lines
1.1 KiB
XML
41 lines
1.1 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" />
|
|
</php>
|
|
|
|
<testsuites>
|
|
<testsuite name="Symfony HttpKernel Component Test Suite">
|
|
<directory>./Tests/</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
|
|
<filter>
|
|
<whitelist>
|
|
<directory>./</directory>
|
|
<exclude>
|
|
<directory>./Tests</directory>
|
|
<directory>./vendor</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
|
|
<listeners>
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
|
|
<arguments>
|
|
<array>
|
|
<element key="time-sensitive"><string>Symfony\Component\HttpFoundation</string></element>
|
|
</array>
|
|
</arguments>
|
|
</listener>
|
|
</listeners>
|
|
</phpunit>
|