File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1919 "php" : " ^7.2 || ^8.0" ,
2020 "dealerdirect/phpcodesniffer-composer-installer" : " ^0.6.2 || ^0.7 || ^1.0" ,
2121 "phpstan/phpdoc-parser" : " ^1.23.1" ,
22- "squizlabs/php_codesniffer" : " ^3.7.1 "
22+ "squizlabs/php_codesniffer" : " ^3.9.0 "
2323 },
2424 "require-dev" : {
2525 "phing/phing" : " 2.17.4" ,
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ public function testUnusedUse(): void
6868 self ::assertNoSniffError ($ report , 29 );
6969
7070 self ::assertNoSniffError ($ report , 30 );
71+ self ::assertNoSniffError ($ report , 31 );
7172
7273 self ::assertNoSniffError ($ report , 91 );
7374 }
Original file line number Diff line number Diff line change 2828use ReferenceClass ;
2929use ClassWithStaticVariable ;
3030use ClassWithConstant ;
31+ use function Psl \Type \null ;
3132
3233class TestClass implements FirstInterface, SecondInterface
3334{
@@ -67,3 +68,5 @@ protected function withUnion(UnionType|UnionType2|bool $union)
6768 }
6869
6970}
71+
72+ null ();
You can’t perform that action at this time.
0 commit comments