File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2020 },
2121 "require-dev" : {
2222 "illuminate/events" : " 5.6.*|5.7.*|^6.20" ,
23- "infection/infection" : " ^0.20.0" ,
23+ "infection/infection" : " ^0.11.1 || ^0. 20.0" ,
2424 "orchestra/testbench" : " ~3.0" ,
2525 "phpstan/phpstan" : " ^1.0" ,
2626 "phpunit/phpunit" : " >=5.3 <8.0 | ^8.2" ,
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ parameters:
44 ignoreErrors :
55 - ' #Cannot access offset #'
66 - '#Method LaravelQless\\Queue\\QlessQueue::makePayload\ (\ ) should return string but returns string\|false. #'
7+ - '#Unsafe usage of new static\ (\)#'
Original file line number Diff line number Diff line change @@ -41,8 +41,7 @@ abstract public function perform(BaseJob $job);
4141 */
4242 public static function dispatchNow ()
4343 {
44- $ instance = new static (...func_get_args ());
45- return $ instance ->completeSync ();
44+ return (new static (...func_get_args ()))->completeSync ();
4645 }
4746
4847 /**
You can’t perform that action at this time.
0 commit comments