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 {
4848 ['modifiers ' => $ modifiers ],
4949 );
5050
51- $ operation ->execute ($ this ->getPrimaryServer ());
51+ $ this ->assertDeprecated (
52+ fn () => $ operation ->execute ($ this ->getPrimaryServer ()),
53+ );
5254 },
5355 function (array $ event ) use ($ expectedSort ): void {
5456 $ 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
171171
172172 set_error_handler (function ($ errno , $ errstr ) use (&$ errors ): void {
173173 $ errors [] = $ errstr ;
174- }, E_USER_DEPRECATED );
174+ }, E_USER_DEPRECATED | E_DEPRECATED );
175175
176176 try {
177177 call_user_func ($ execution );
You can’t perform that action at this time.
0 commit comments