File tree Expand file tree Collapse file tree 4 files changed +13
-12
lines changed Expand file tree Collapse file tree 4 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 22/.phpunit.result.cache
33/bin /
44/composer.lock
5+ /custom.task.properties
6+ /custom.type.properties
57/test /coverage.xml
68/test /report /
7- /vendor /
9+ /vendor /
Original file line number Diff line number Diff line change 11language : php
22php :
3- - ' 7.1'
4- - ' 7.2'
53 - ' 7.3'
4+ - ' 7.4'
65
76install :
87 - composer self-update
98 - composer install
10-
11- script :
9+
10+ script :
1211 - ./bin/phing unit
Original file line number Diff line number Diff line change 77 ],
88 "license" : " MIT" ,
99 "require" : {
10- "php" : " >=7.1.0 " ,
11- "setbased/exception" : " ^2.0.0 "
10+ "php" : " >=7.3 " ,
11+ "setbased/exception" : " ^2.1 "
1212 },
1313 "require-dev" : {
14- "phing/phing" : " ^2.0.0 " ,
15- "phpunit/phpunit" : " ^7.0.0 || ^8.0 .0"
14+ "phing/phing" : " ^2.0" ,
15+ "phpunit/phpunit" : " ^9 .0"
1616 },
1717 "autoload" : {
1818 "psr-4" : {
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function tearDown(): void
6666
6767 //--------------------------------------------------------------------------------------------------------------------
6868 /**
69- * Errors suppressed with the @-operator must not throe exceptions.
69+ * Errors suppressed with the @-operator must not throw exceptions.
7070 */
7171 public function testSuppressedError ()
7272 {
@@ -103,8 +103,8 @@ public function testWarning()
103103 {
104104 $ this ->expectException (ErrorException::class);
105105 $ this ->expectExceptionCode (E_WARNING );
106- $ this ->expectExceptionMessageRegExp ('/fopen/ ' );
107- $ this ->expectExceptionMessageRegExp (sprintf ('!%s! ' , preg_quote (__DIR__ .'/not-found.txt ' )));
106+ $ this ->expectExceptionMessageMatches ('/fopen/ ' );
107+ $ this ->expectExceptionMessageMatches (sprintf ('!%s! ' , preg_quote (__DIR__ .'/not-found.txt ' )));
108108 fopen (__DIR__ .'/not-found.txt ' , 'r ' );
109109 }
110110
You can’t perform that action at this time.
0 commit comments