|
19 | 19 | > |
20 | 20 | <coverage> |
21 | 21 | <report> |
22 | | - <clover outputFile="build/logs/clover.xml"/> |
23 | | - <html outputDirectory="build/report" lowUpperBound="75" highLowerBound="95"/> |
24 | | - <text outputFile="php://stdout" showOnlySummary="true" showUncoveredFiles="true"/> |
| 22 | + <clover outputFile="build/logs/clover.xml" /> |
| 23 | + <html outputDirectory="build/report" lowUpperBound="75" highLowerBound="95" /> |
| 24 | + <text outputFile="php://stdout" showOnlySummary="true" showUncoveredFiles="true" /> |
25 | 25 | </report> |
26 | 26 | </coverage> |
27 | 27 |
|
28 | 28 | <php> |
29 | | - <ini name="error_reporting" value="-1"/> |
30 | | - <ini name="display_errors" value="On"/> |
31 | | - <ini name="display_startup_errors" value="On"/> |
32 | | - <ini name="date.timezone" value="UTC"/> |
33 | | - <env name="KERNEL_CLASS" value="App\Kernel"/> |
34 | | - <env name="SHELL_VERBOSITY" value="-1"/> |
35 | | - <env name="USE_ALL_USER_COMBINATIONS" value="no"/> |
36 | | - <env name="APP_ENV" value="test" force="true"/> |
37 | | - <env name="APP_DEBUG" value="false" force="true"/> |
38 | | - <env name="APP_SECRET" value="93b60d4136baea83cf3821ee6a0a2adb"/> |
| 29 | + <ini name="error_reporting" value="-1" /> |
| 30 | + <ini name="display_errors" value="On" /> |
| 31 | + <ini name="display_startup_errors" value="On" /> |
| 32 | + <ini name="date.timezone" value="UTC" /> |
| 33 | + <env name="KERNEL_CLASS" value="App\Kernel" /> |
| 34 | + <env name="SHELL_VERBOSITY" value="-1" /> |
| 35 | + <env name="USE_ALL_USER_COMBINATIONS" value="no" /> |
| 36 | + <env name="APP_ENV" value="test" force="true" /> |
| 37 | + <env name="APP_DEBUG" value="false" force="true" /> |
| 38 | + <env name="APP_SECRET" value="93b60d4136baea83cf3821ee6a0a2adb" /> |
39 | 39 | <!-- |
40 | 40 | To make sure that application has no "direct" deprecations we use `max[direct]=0` as a default one |
41 | 41 | indirect deprecations are just shown on test output to help to track those. |
|
45 | 45 |
|
46 | 46 | https://symfony.com/doc/current/components/phpunit_bridge.html#direct-and-indirect-deprecations |
47 | 47 | --> |
48 | | - <env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0"/> |
| 48 | + <env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0" /> |
49 | 49 | </php> |
50 | 50 |
|
| 51 | + <extensions> |
| 52 | + <bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension"> |
| 53 | + <parameter name="clock-mock-namespaces" value="App" /> |
| 54 | + <parameter name="dns-mock-namespaces" value="App" /> |
| 55 | + </bootstrap> |
| 56 | + </extensions> |
| 57 | + |
51 | 58 | <testsuites> |
52 | 59 | <testsuite name="Unit"> |
53 | 60 | <directory>./tests/Unit/</directory> |
|
67 | 74 | </testsuites> |
68 | 75 |
|
69 | 76 | <logging> |
70 | | - <junit outputFile="build/logs/junit.xml"/> |
| 77 | + <junit outputFile="build/logs/junit.xml" /> |
71 | 78 | </logging> |
72 | 79 |
|
73 | 80 | <source |
|
0 commit comments