|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<phpunit |
3 | | - backupGlobals = "false" |
4 | | - backupStaticAttributes = "false" |
5 | | - colors = "true" |
6 | | - convertErrorsToExceptions = "true" |
7 | | - convertNoticesToExceptions = "true" |
8 | | - convertWarningsToExceptions = "true" |
9 | | - processIsolation = "false" |
10 | | - stopOnFailure = "false" |
11 | | - bootstrap = "vendor/autoload.php" > |
12 | | - <php> |
13 | | - <ini name="max_execution_time" value="-1"/> |
14 | | - <ini name="html_errors" value="false"/> |
15 | | - <ini name="memory_limit" value="2G"/> |
16 | | - |
17 | | - <ini name="xdebug.default_enable" value="1" /> |
18 | | - <ini name="xdebug.enable_coverage" value="1" /> |
19 | | - <ini name="xdebug.remote_autostart" value="0" /> |
20 | | - <ini name="xdebug.remote_enable" value="0" /> |
21 | | - <ini name="xdebug.overload_var_dump" value="0" /> |
22 | | - <ini name="xdebug.show_mem_delta" value="0" /> |
23 | | - |
24 | | - <env name="ENVIRONMENT" value="test" /> |
25 | | - </php> |
26 | | - |
27 | | - <testsuites> |
28 | | - <testsuite name="Unit"> |
29 | | - <directory>./tests</directory> |
30 | | - </testsuite> |
31 | | - </testsuites> |
32 | | - |
33 | | - <filter> |
34 | | - <whitelist> |
35 | | - <directory>src</directory> |
36 | | - </whitelist> |
37 | | - </filter> |
38 | | - |
39 | | - <logging> |
40 | | - <log type="coverage-text" target="php://stdout" showOnlySummary="true"/> |
41 | | - <log type="coverage-clover" target="build/logs/phpunit/coverage/coverage.xml"/> |
42 | | - <log type="coverage-html" target="build/logs/phpunit/coverage"/> |
43 | | - <log type="coverage-xml" target="build/logs/phpunit/coverage/coverage-xml"/> |
44 | | - <log type="junit" target="build/logs/phpunit/junit.xml"/> |
45 | | - </logging> |
| 2 | +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> |
| 3 | + <coverage> |
| 4 | + <include> |
| 5 | + <directory>src</directory> |
| 6 | + </include> |
| 7 | + <report> |
| 8 | + <clover outputFile="build/logs/phpunit/coverage/coverage.xml"/> |
| 9 | + <html outputDirectory="build/logs/phpunit/coverage"/> |
| 10 | + <text outputFile="php://stdout" showOnlySummary="true"/> |
| 11 | + <xml outputDirectory="build/logs/phpunit/coverage/coverage-xml"/> |
| 12 | + </report> |
| 13 | + </coverage> |
| 14 | + <php> |
| 15 | + <ini name="max_execution_time" value="-1"/> |
| 16 | + <ini name="html_errors" value="false"/> |
| 17 | + <ini name="memory_limit" value="2G"/> |
| 18 | + <env name="error_reporting" value="E_ALL"/> |
| 19 | + <env name="display_errors" value="1"/> |
| 20 | + <env name="ENVIRONMENT" value="test"/> |
| 21 | + </php> |
| 22 | + <testsuites> |
| 23 | + <testsuite name="Unit"> |
| 24 | + <directory>./tests</directory> |
| 25 | + </testsuite> |
| 26 | + </testsuites> |
| 27 | + <logging> |
| 28 | + <junit outputFile="build/logs/phpunit/junit.xml"/> |
| 29 | + </logging> |
46 | 30 | </phpunit> |
0 commit comments