Skip to content

Commit 2837737

Browse files
committed
Revert "Add support for PHPUnit 10 (codezero-be#17)"
This reverts commit b1aa9f0.
1 parent b1aa9f0 commit 2837737

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
/phpunit.xml
33
composer.lock
44
/.phpunit.result.cache
5-
/.phpunit.cache/

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"require-dev": {
2929
"mockery/mockery": "^1.3.3",
3030
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0",
31-
"phpunit/phpunit": "^8.0|^9.0|^10.0"
31+
"phpunit/phpunit": "^8.0|^9.0"
3232
},
3333
"scripts": {
3434
"test": "phpunit"

Diff for: phpunit.xml.dist

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
backupGlobals="false"
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
44
bootstrap="vendor/autoload.php"
55
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
69
processIsolation="false"
7-
stopOnFailure="false"
8-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
9-
cacheDirectory=".phpunit.cache"
10-
backupStaticProperties="false">
11-
<coverage>
12-
<include>
13-
<directory suffix=".php">./src</directory>
14-
</include>
15-
</coverage>
10+
stopOnFailure="false">
1611
<testsuites>
1712
<testsuite name="Unit">
1813
<directory suffix="Test.php">./tests/Unit</directory>
@@ -21,6 +16,11 @@
2116
<directory suffix="Test.php">./tests/Feature</directory>
2217
</testsuite>
2318
</testsuites>
19+
<filter>
20+
<whitelist processUncoveredFilesFromWhitelist="true">
21+
<directory suffix=".php">./src</directory>
22+
</whitelist>
23+
</filter>
2424
<php>
2525
<env name="APP_ENV" value="testing"/>
2626
<env name="CACHE_DRIVER" value="array"/>

0 commit comments

Comments
 (0)