Skip to content

Commit

Permalink
composer.json: move nikic/php-parser into dev dependencies (#60)
Browse files Browse the repository at this point in the history
* composer.json: move `nikic/php-parser` into dev dependencies

* composer-require-checker.json: ignore PhpParser classes

* composer-require-checker.json: ignore PhpParser classes v2
  • Loading branch information
voku authored Aug 1, 2024
1 parent 3cafd8c commit 389ac3a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion composer-require-checker.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@
"PHPStan\\Rules\\RuleErrorBuilder",
"PHPStan\\Type\\ConstantScalarType",
"PHPStan\\Type\\ObjectType",
"PHPStan\\Type\\TypeWithClassName"
"PHPStan\\Type\\TypeWithClassName",
"PhpParser\\Node",
"PhpParser\\Node\\Expr\\ArrowFunction",
"PhpParser\\Node\\Expr\\Assign",
"PhpParser\\Node\\Expr\\Closure",
"PhpParser\\Node\\Expr\\FuncCall",
"PhpParser\\Node\\Expr\\New_",
"PhpParser\\Node\\Expr\\StaticPropertyFetch",
"PhpParser\\Node\\Expr\\Variable",
"PhpParser\\Node\\FunctionLike",
"PhpParser\\Node\\Name",
"PhpParser\\Node\\Scalar\\String_",
"PhpParser\\Node\\Stmt\\ClassLike",
"PhpParser\\Node\\Stmt\\Goto_",
"PhpParser\\Node\\Stmt\\Interface_",
"PhpParser\\Node\\Stmt\\Trait_",
"PhpParser\\Node\\VarLikeIdentifier"
]
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
],
"require": {
"php": "~8.2.0 || ~8.3.0",
"nikic/php-parser": "^4.19.1 || ^5.0.2",
"phpstan/phpstan": "^1.11.8"
},
"require-dev": {
"nette/di": "^3.2.2",
"nette/neon": "^3.4.3",
"nikic/php-parser": "^4.19.1 || ^5.0.2",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpunit/phpunit": "^11.2.9",
"slam/php-cs-fixer-extensions": "^3.11.1"
Expand Down

0 comments on commit 389ac3a

Please sign in to comment.