Skip to content

Commit 9a65ece

Browse files
Merge branch 'master' into github-issue-7
2 parents d86b51a + ec0db26 commit 9a65ece

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
}
2626
],
2727
"require": {
28-
"php": "^7.2",
29-
"illuminate/contracts": "^6.0|^7.0|^8.0",
28+
"php": "^7.2|^8.0",
29+
"illuminate/contracts": "^7.0|^8.0",
3030
"symfony/yaml": "^4.1",
3131
"justinrainbow/json-schema": "^5.2"
3232
},
3333
"require-dev": {
34-
"phpunit/phpunit": "^6.5",
34+
"phpunit/phpunit": "^6.5|^9.0",
3535
"squizlabs/php_codesniffer": "^3.2"
3636
},
3737
"autoload": {

tests/Validator/ValidationSystemTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ValidationSystemTest extends TestCase
1515
*/
1616
private $defaultValidator;
1717

18-
protected function setUp()
18+
protected function setUp(): void
1919
{
2020
if (!$this->defaultValidator) {
2121
$this->defaultValidator = new DocumentValidator();
@@ -25,7 +25,7 @@ protected function setUp()
2525
public function testNonExistingSpecFileCausesLogicException()
2626
{
2727
$this->expectException(LogicException::class);
28-
$this->expectExceptionMessageRegExp('/The default schema file cannot be found/i');
28+
$this->expectExceptionMessageMatches('/The default schema file cannot be found/i');
2929

3030
new class extends DocumentValidator
3131
{

0 commit comments

Comments
 (0)