This PR was merged into the 2.8 branch. Discussion ---------- Add required key attribute | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a I am getting warnings when running tests with recent phpunit versions (since 7.2.0) : > `- Element 'element': The attribute 'key' is required but missing.` This requirement is far from being new, what is recent is phpunit validating its configuration file against the XSD schema. Seed4484be1a9
This is pedantic (not a bugfix), and might be a bit painful to merge upstream, so if you feel like I should target a more recent instead and let the old branches go on with their lives, please tell me. Commits -------c0733c22cb
Add required key attribute
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 key="0"><string>Symfony\Component\Console</string></element>
|
|
<element key="1"><string>Symfony\Component\HttpFoundation</string></element>
|
|
</array>
|
|
</element>
|
|
</array>
|
|
</arguments>
|
|
</listener>
|
|
</listeners>
|
|
</phpunit>
|