File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 18
18
fail-fast : false
19
19
matrix :
20
20
php :
21
+ - ' 8.1'
21
22
- ' 8.0'
22
23
- ' 7.4'
23
24
- ' 7.3'
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function exception(): Response
41
41
42
42
public function fatal (): Response
43
43
{
44
- $ foo = eval ("return new class() implements \Serializable {}; " );
44
+ $ foo = eval ("return new class() implements \JsonSerializable {}; " );
45
45
46
46
return new Response ('This response should not happen: ' . json_encode ($ foo ));
47
47
}
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public function testGetFatal(): void
151
151
$ this ->assertStringNotContainsString ('not happen ' , $ response ->getContent () ?: '' );
152
152
} catch (\RuntimeException $ exception ) {
153
153
$ this ->assertStringContainsStringIgnoringCase ('error ' , $ exception ->getMessage ());
154
- $ this ->assertStringContainsStringIgnoringCase ('contains 2 abstract methods ' , $ exception ->getMessage ());
154
+ $ this ->assertStringContainsStringIgnoringCase ('contains 1 abstract method ' , $ exception ->getMessage ());
155
155
$ this ->assertStringContainsStringIgnoringCase ('MainController.php ' , $ exception ->getMessage ());
156
156
$ this ->assertStringContainsStringIgnoringCase ('eval() \'d code on line ' , $ exception ->getMessage ());
157
157
}
You can’t perform that action at this time.
0 commit comments