|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<phpunit backupGlobals="false" |
3 | | - bootstrap="tests/bootstrap.php" |
4 | | - backupStaticAttributes="false" |
5 | | - colors="true" |
6 | | - convertErrorsToExceptions="true" |
7 | | - convertNoticesToExceptions="true" |
8 | | - convertWarningsToExceptions="true" |
9 | | - processIsolation="false" |
10 | | - stopOnFailure="true"> |
11 | | - <testsuites> |
12 | | - <testsuite name="Unit"> |
13 | | - <directory>./tests</directory> |
14 | | - </testsuite> |
15 | | - </testsuites> |
16 | | - <filter> |
17 | | - <whitelist processUncoveredFilesFromWhitelist="true"> |
18 | | - <directory suffix=".php">src/</directory> |
19 | | - <exclude> |
20 | | - <directory suffix=".php">./src/Commands</directory> |
21 | | - <directory suffix=".php">./src/Config</directory> |
22 | | - </exclude> |
23 | | - </whitelist> |
24 | | - </filter> |
25 | | - <php> |
26 | | - <env name="REDIS_HOST" value="127.0.0.1"/> |
27 | | - <env name="REDIS_PORT" value="6379"/> |
28 | | - <env name="REDIS_TIMEOUT" value="0.5"/> |
29 | | - <env name="REDIS_DATABASE" value="15"/> |
30 | | - </php> |
| 2 | +<phpunit |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" |
| 5 | + backupGlobals="false" |
| 6 | + bootstrap="tests/bootstrap.php" |
| 7 | + colors="true" |
| 8 | + processIsolation="false" |
| 9 | + stopOnFailure="true" |
| 10 | + cacheDirectory=".phpunit.cache" |
| 11 | + backupStaticProperties="false" |
| 12 | +> |
| 13 | + <testsuites> |
| 14 | + <testsuite name="Unit"> |
| 15 | + <directory>./tests</directory> |
| 16 | + </testsuite> |
| 17 | + </testsuites> |
| 18 | + <php> |
| 19 | + <env name="REDIS_HOST" value="127.0.0.1"/> |
| 20 | + <env name="REDIS_PORT" value="6379"/> |
| 21 | + <env name="REDIS_TIMEOUT" value="0.5"/> |
| 22 | + <env name="REDIS_DATABASE" value="15"/> |
| 23 | + </php> |
| 24 | + <source> |
| 25 | + <include> |
| 26 | + <directory suffix=".php">src/</directory> |
| 27 | + </include> |
| 28 | + <exclude> |
| 29 | + <directory suffix=".php">./src/Commands</directory> |
| 30 | + <directory suffix=".php">./src/Config</directory> |
| 31 | + </exclude> |
| 32 | + </source> |
31 | 33 | </phpunit> |
0 commit comments