Skip to content

Commit 862bc6d

Browse files
committedOct 8, 2020
allow php 8 and support phpunit 9
1 parent 9847773 commit 862bc6d

File tree

72 files changed

+319
-265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+319
-265
lines changed
 

‎composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
}
2828
],
2929
"require": {
30-
"php": "^5.6|^7.0",
30+
"php": "^7.1 || ^8.0",
3131
"phpcr/phpcr-implementation": "2.1.*",
32-
"phpunit/phpunit": "^5.7 || ^6.4 || ^7.0"
32+
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
3333
},
3434
"autoload": {
3535
"psr-4": {

‎inc/AbstractLoader.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,11 @@ public function doesSessionLastModified()
255255
*/
256256
public function getTestSupported($chapter, $case, $name)
257257
{
258-
return !(in_array($chapter, $this->unsupportedChapters)
258+
return !(
259+
in_array($chapter, $this->unsupportedChapters)
259260
|| in_array($case, $this->unsupportedCases)
260261
|| in_array($name, $this->unsupportedTests)
261-
);
262+
);
262263
}
263264

264265
/**

0 commit comments

Comments
 (0)
Please sign in to comment.