Skip to content

Commit

Permalink
Re-implement TokenScanner using nikic/php-parser (#1597)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann authored Jun 3, 2024
1 parent 15c5c6a commit ddab6a5
Show file tree
Hide file tree
Showing 13 changed files with 146 additions and 317 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"require": {
"php": ">=7.2",
"ext-json": "*",
"nikic/php-parser": "^4.19",
"psr/log": "^1.1 || ^2.0 || ^3.0",
"symfony/deprecation-contracts": "^2 || ^3",
"symfony/finder": ">=2.2",
Expand Down
2 changes: 1 addition & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ parameters:
path: Examples/using-links-php81/User.php

-
message: "#^Strict comparison using \\=\\=\\= between array\\|string and false will always evaluate to false\\.$#"
message: "#^Call to function array_key_exists\\(\\) with string and array\\{\\} will always evaluate to false\\.$#"
count: 1
path: src/Analysers/TokenScanner.php

Expand Down
Loading

0 comments on commit ddab6a5

Please sign in to comment.