-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
phpunit.xml
51 lines (45 loc) · 1.5 KB
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Graby">
<directory>./tests</directory>
</testsuite>
</testsuites>
<php>
<!-- until all deps are compatible with PHP 8.1 -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
<ini name="date.timezone" value="Europe/Paris"/>
</php>
<filter>
<whitelist>
<directory>./src</directory>
<exclude>
<directory>./tests</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<!-- In order to mock if necessary the resolution IP of a non-existent domain name during the validation of url -->
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
<arguments>
<array>
<element key="dns-sensitive">
<string>Graby\HttpClient\Plugin\ServerSideRequestForgeryProtection</string>
</element>
</array>
</arguments>
</listener>
</listeners>
<!-- <logging>
<log type="coverage-html" target="build" lowUpperBound="35" highLowerBound="70"/>
</logging> -->
</phpunit>