File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ function () use ($modifiers): void {
48
48
['modifiers ' => $ modifiers ],
49
49
);
50
50
51
- $ operation ->execute ($ this ->getPrimaryServer ());
51
+ $ this ->assertDeprecated (
52
+ fn () => $ operation ->execute ($ this ->getPrimaryServer ()),
53
+ );
52
54
},
53
55
function (array $ event ) use ($ expectedSort ): void {
54
56
$ this ->assertEquals ($ expectedSort , $ event ['started ' ]->getCommand ()->sort ?? null );
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ protected function assertDeprecated(callable $execution): void
171
171
172
172
set_error_handler (function ($ errno , $ errstr ) use (&$ errors ): void {
173
173
$ errors [] = $ errstr ;
174
- }, E_USER_DEPRECATED );
174
+ }, E_USER_DEPRECATED | E_DEPRECATED );
175
175
176
176
try {
177
177
call_user_func ($ execution );
You can’t perform that action at this time.
0 commit comments