mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 08:50:50 +00:00
use FQN bin paths in composer.json for easier copy-paste
This commit is contained in:
parent
c9976ef43b
commit
aa14cdd461
|
@ -48,7 +48,6 @@
|
|||
"autoload": {
|
||||
"psr-4": {
|
||||
"Rector\\": "src",
|
||||
"Rector\\Core\\": "src",
|
||||
"Rector\\Autodiscovery\\": "packages/Autodiscovery/src",
|
||||
"Rector\\Architecture\\": "packages/Architecture/src",
|
||||
"Rector\\AttributeAwarePhpDoc\\": "packages/AttributeAwarePhpDoc/src",
|
||||
|
@ -121,7 +120,6 @@
|
|||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Rector\\Tests\\": "tests",
|
||||
"Rector\\Core\\Tests\\": "tests",
|
||||
"Rector\\Autodiscovery\\Tests\\": "packages/Autodiscovery/tests",
|
||||
"Rector\\Architecture\\Tests\\": "packages/Architecture/tests",
|
||||
"Rector\\BetterPhpDocParser\\Tests\\": "packages/BetterPhpDocParser/tests",
|
||||
|
@ -220,16 +218,16 @@
|
|||
"@phpstan",
|
||||
"@docs"
|
||||
],
|
||||
"check-cs": "ecs check bin packages src tests utils compiler --ansi",
|
||||
"check-cs": "vendor/bin/ecs check bin packages src tests utils compiler --ansi",
|
||||
"fix-cs": [
|
||||
"ecs check bin packages src tests utils compiler --fix --ansi",
|
||||
"vendor/bin/ecs check bin packages src tests utils compiler --fix --ansi",
|
||||
"ci/clean_trailing_spaces.sh"
|
||||
],
|
||||
"phpstan": "phpstan analyse packages src tests compiler/src --ansi --error-format symplify",
|
||||
"phpstan": "vendor/bin/phpstan analyse --ansi --error-format symplify",
|
||||
"changelog": [
|
||||
"changelog-linker dump-merges --in-categories",
|
||||
"changelog-linker link",
|
||||
"changelog-linker cleanup"
|
||||
"vendor/bin/changelog-linker dump-merges --in-categories",
|
||||
"vendor/bin/changelog-linker link",
|
||||
"vendor/bin/changelog-linker cleanup"
|
||||
],
|
||||
"check-docs": [
|
||||
"bin/rector dump-rectors -o markdown | diff --ignore-space-change docs/AllRectorsOverview.md - ",
|
||||
|
|
|
@ -15,6 +15,12 @@ parameters:
|
|||
- stubs
|
||||
- compiler/src
|
||||
|
||||
paths:
|
||||
- src
|
||||
- packages
|
||||
- tests
|
||||
- compiler/src
|
||||
|
||||
excludes_analyse:
|
||||
- "*/Expected/*"
|
||||
# complex printer
|
||||
|
@ -232,3 +238,4 @@ parameters:
|
|||
- '#Property PhpParser\\Node\\Stmt\\Expression\:\:\$expr \(PhpParser\\Node\\Expr\) does not accept PhpParser\\Node\\Expr\|null#'
|
||||
- '#Call to an undefined method PHPStan\\Type\\Type\:\:getClassName\(\)#'
|
||||
- '#Parameter \#1 \$typeNode of method Rector\\NodeTypeResolver\\StaticTypeMapper\:\:mapPHPStanPhpDocTypeNodeToPHPStanType\(\) expects PHPStan\\PhpDocParser\\Ast\\Type\\TypeNode, PHPStan\\PhpDocParser\\Ast\\Node given#'
|
||||
- '#Parameter \#1 \$str of function preg_quote expects string, int\|string given#'
|
||||
|
|
Loading…
Reference in New Issue
Block a user