File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 88
99* Replace ` fabpot/local-php-security-checker ` by ` composer audit ` for the security check
1010* Move code snippets into tests directory
11+ * Updated nikic/php-parser to 5.4
1112
1213------
1314
Original file line number Diff line number Diff line change 2323 "require-dev" : {
2424 "ergebnis/composer-normalize" : " ^2.6" ,
2525 "friendsofphp/php-cs-fixer" : " ^3.0" ,
26- "nikic/php-parser" : " ^4.3 " ,
26+ "nikic/php-parser" : " ^5.4 " ,
2727 "phpstan/phpstan-phpunit" : " ^2.0" ,
2828 "phpunit/phpunit" : " ^9.5" ,
2929 "symfony/var-dumper" : " ^5.0"
Original file line number Diff line number Diff line change 2727use PhpParser \Node \Name ;
2828use PhpParser \Node \Name \FullyQualified ;
2929use PhpParser \Node \Scalar \LNumber ;
30+ use PhpParser \Node \Scalar \String_ ;
3031use PHPStan \Analyser \Scope ;
3132use PHPStan \Rules \IdentifierRuleError ;
3233use PHPStan \Rules \NonIgnorableRuleError ;
@@ -195,6 +196,6 @@ public function getHandledNodes(): \Generator
195196 yield [new Eval_ ($ this ->createMock (Expr::class))];
196197 yield [new Exit_ ()];
197198 yield [new Print_ ($ this ->createMock (Expr::class))];
198- yield [new ShellExec (['' ])];
199+ yield [new ShellExec ([new String_ ( '' ) ])];
199200 }
200201}
You can’t perform that action at this time.
0 commit comments