File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments