File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
tests/unit/Toolkit/Utility/Get Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 4444 'fully_qualified_strict_types ' => true ,
4545 'is_null ' => true ,
4646 'native_constant_invocation ' => ['include ' => $ customTokens ],
47+ 'new_with_parentheses ' => ['anonymous_class ' => false ],
4748 'no_superfluous_phpdoc_tags ' => ['allow_mixed ' => true ],
4849 'no_unneeded_import_alias ' => true ,
4950 'no_unused_imports ' => true ,
Original file line number Diff line number Diff line change @@ -904,7 +904,7 @@ public function testCopy(): void
904904 $ this ->expectExceptionMessage ('Closure returned class@anonymous (stdClass|bool expected) ' );
905905 Get::copy (
906906 $ h ,
907- fn ($ obj ) => $ obj instanceof stdClass ? new class () {} : false ,
907+ fn ($ obj ) => $ obj instanceof stdClass ? new class {} : false ,
908908 );
909909 }
910910
You can’t perform that action at this time.
0 commit comments