Skip to content

Commit 8763682

Browse files
committed
Revert "PHPUnit 9.3 introduced configuration changes - updated config and required version"
This reverts commit 9411f6b.
1 parent 99b8f01 commit 8763682

File tree

2 files changed

+28
-29
lines changed

2 files changed

+28
-29
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"phpstan/extension-installer": "^1.1",
4141
"phpstan/phpstan": "^0.12.94",
4242
"phpstan/phpstan-webmozart-assert": "^0.12.15",
43-
"phpunit/phpunit": "^9.3",
43+
"phpunit/phpunit": "^8.5.19||^9.5.8",
4444
"thecodingmachine/phpstan-strict-rules": "^0.12.1"
4545
},
4646
"suggest": {

phpunit.xml.dist

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<phpunit
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
6-
backupGlobals="false"
7-
backupStaticAttributes="false"
8-
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
12-
processIsolation="false"
13-
stopOnFailure="false"
14-
bootstrap="tests/Bootstrap.php"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
6+
backupGlobals="false"
7+
backupStaticAttributes="false"
8+
colors="true"
9+
convertErrorsToExceptions="true"
10+
convertNoticesToExceptions="true"
11+
convertWarningsToExceptions="true"
12+
processIsolation="false"
13+
stopOnFailure="false"
14+
bootstrap="tests/Bootstrap.php"
1515
>
16-
<coverage processUncoveredFiles="true">
17-
<include>
18-
<directory suffix=".php">src/</directory>
19-
</include>
20-
<report>
21-
<clover outputFile="build/logs/clover.xml"/>
22-
<html outputDirectory="build/coverage"/>
23-
</report>
24-
</coverage>
25-
26-
<testsuites>
27-
<testsuite name="GraphQLite Test Suite">
28-
<directory>./tests/</directory>
29-
<exclude>./tests/Bootstrap.php</exclude>
30-
</testsuite>
31-
</testsuites>
32-
<logging />
16+
<testsuites>
17+
<testsuite name="GraphQLite Test Suite">
18+
<directory>./tests/</directory>
19+
<exclude>./tests/Bootstrap.php</exclude>
20+
</testsuite>
21+
</testsuites>
22+
23+
<filter>
24+
<whitelist processUncoveredFilesFromWhitelist="true">
25+
<directory suffix=".php">src/</directory>
26+
</whitelist>
27+
</filter>
28+
<logging>
29+
<log type="coverage-html" target="build/coverage"/>
30+
<log type="coverage-clover" target="build/logs/clover.xml"/>
31+
</logging>
3332
</phpunit>

0 commit comments

Comments
 (0)