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 2
2
/.phpunit.result.cache
3
3
/bin /
4
4
/composer.lock
5
+ /custom.task.properties
6
+ /custom.type.properties
5
7
/test /coverage.xml
6
8
/test /report /
7
- /vendor /
9
+ /vendor /
Original file line number Diff line number Diff line change 1
1
language : php
2
2
php :
3
- - ' 7.1'
4
- - ' 7.2'
5
3
- ' 7.3'
4
+ - ' 7.4'
6
5
7
6
install :
8
7
- composer self-update
9
8
- composer install
10
-
11
- script :
9
+
10
+ script :
12
11
- ./bin/phing unit
Original file line number Diff line number Diff line change 7
7
],
8
8
"license" : " MIT" ,
9
9
"require" : {
10
- "php" : " >=7.1.0 " ,
11
- "setbased/exception" : " ^2.0.0 "
10
+ "php" : " >=7.3 " ,
11
+ "setbased/exception" : " ^2.1 "
12
12
},
13
13
"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"
16
16
},
17
17
"autoload" : {
18
18
"psr-4" : {
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function tearDown(): void
66
66
67
67
//--------------------------------------------------------------------------------------------------------------------
68
68
/**
69
- * Errors suppressed with the @-operator must not throe exceptions.
69
+ * Errors suppressed with the @-operator must not throw exceptions.
70
70
*/
71
71
public function testSuppressedError ()
72
72
{
@@ -103,8 +103,8 @@ public function testWarning()
103
103
{
104
104
$ this ->expectException (ErrorException::class);
105
105
$ 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 ' )));
108
108
fopen (__DIR__ .'/not-found.txt ' , 'r ' );
109
109
}
110
110
You can’t perform that action at this time.
0 commit comments