Skip to content

Commit 1c74f44

Browse files
committed
PHPLIB-462: Allow installing the latest PHPUnit release
1 parent 9074847 commit 1c74f44

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ vendor/
66
# PHPUnit
77
phpunit.phar
88
phpunit.xml
9+
.phpunit.result.cache

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"ext-mongodb": "^1.6"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^5.7.27 || ^6.4"
19+
"phpunit/phpunit": "^5.7.27 || ^6.4 || ^8.3"
2020
},
2121
"autoload": {
2222
"psr-4": { "MongoDB\\": "src/" },

phpunit.xml.dist

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22

33
<phpunit
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.3/phpunit.xsd"
6-
backupGlobals="false"
7-
backupStaticAttributes="false"
5+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.3/phpunit.xsd"
6+
beStrictAboutOutputDuringTests="true"
7+
beStrictAboutChangesToGlobalState="true"
88
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
12-
stopOnFailure="false"
13-
syntaxCheck="false"
149
bootstrap="tests/bootstrap.php"
1510
>
1611

0 commit comments

Comments
 (0)