|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 |
| - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" |
| 3 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.2/phpunit.xsd" |
| 4 | + bootstrap="tests/bootstrap.php" |
| 5 | + cacheDirectory=".phpunit.cache" |
| 6 | + executionOrder="depends,defects" |
4 | 7 | colors="true"
|
5 |
| - bootstrap="vendor/autoload.php" |
| 8 | + beStrictAboutCoverageMetadata="true" |
| 9 | + beStrictAboutOutputDuringTests="true" |
6 | 10 | displayDetailsOnTestsThatTriggerDeprecations="true"
|
| 11 | + displayDetailsOnTestsThatTriggerNotices="true" |
7 | 12 | displayDetailsOnTestsThatTriggerWarnings="true"
|
8 | 13 | displayDetailsOnTestsThatTriggerErrors="true"
|
9 |
| - failOnWarning="true" |
10 |
| - failOnRisky="true"> |
11 |
| - |
12 |
| - <source ignoreSuppressionOfDeprecations="true" |
13 |
| - ignoreSuppressionOfPhpDeprecations="true" |
14 |
| - ignoreSuppressionOfErrors="true" |
15 |
| - ignoreSuppressionOfNotices="true" |
16 |
| - ignoreSuppressionOfPhpNotices="true" |
17 |
| - ignoreSuppressionOfWarnings="true" |
18 |
| - ignoreSuppressionOfPhpWarnings="true"> |
19 |
| - <include> |
20 |
| - <directory>./src/</directory> |
21 |
| - </include> |
22 |
| - </source> |
23 |
| - |
| 14 | + failOnRisky="true" |
| 15 | + failOnNotice="true" |
| 16 | + failOnWarning="true"> |
24 | 17 | <php>
|
25 |
| - <ini name="error_reporting" value="-1"/> |
26 | 18 | <ini name="display_errors" value="1"/>
|
| 19 | + <ini name="error_reporting" value="-1"/> |
| 20 | + <ini name="memory_limit" value="512M"/> |
27 | 21 | <server name="KERNEL_CLASS" value="Fusonic\ApiDocumentationBundle\Tests\App\TestKernel"/>
|
28 |
| - <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/> |
29 |
| - <env name="APP_DEBUG" value="false" /> |
| 22 | + <server name="APP_ENV" value="test" force="true"/> |
| 23 | + <server name="APP_DEBUG" value="0" force="true"/> |
| 24 | + <server name="SHELL_VERBOSITY" value="-1"/> |
30 | 25 | </php>
|
31 | 26 |
|
32 | 27 | <testsuites>
|
33 | 28 | <testsuite name="Fusonic ApiDocumentationBundle Test Suite">
|
34 | 29 | <directory>./tests/</directory>
|
35 | 30 | </testsuite>
|
36 | 31 | </testsuites>
|
| 32 | + |
| 33 | + <source ignoreIndirectDeprecations="true" |
| 34 | + ignoreSuppressionOfDeprecations="true" |
| 35 | + ignoreSuppressionOfPhpDeprecations="true" |
| 36 | + restrictNotices="true" |
| 37 | + ignoreSuppressionOfNotices="true" |
| 38 | + ignoreSuppressionOfPhpNotices="true" |
| 39 | + restrictWarnings="true" |
| 40 | + ignoreSuppressionOfWarnings="true" |
| 41 | + ignoreSuppressionOfPhpWarnings="true" |
| 42 | + ignoreSuppressionOfErrors="true"> |
| 43 | + <include> |
| 44 | + <directory>src</directory> |
| 45 | + </include> |
| 46 | + |
| 47 | + <deprecationTrigger> |
| 48 | + <function>trigger_deprecation</function> |
| 49 | + </deprecationTrigger> |
| 50 | + </source> |
37 | 51 | </phpunit>
|
0 commit comments