mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
75 lines
3.2 KiB
JSON
75 lines
3.2 KiB
JSON
{
|
|
"name": "rector/rector",
|
|
"description": "AST based PHP refactoring of Nette or Symfony application to most recent versions.",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{ "name": "Tomas Votruba", "email": "tomas.vot@gmail.com", "homepage": "https://tomasvotruba.com" },
|
|
{ "name": "Rector Contributors", "homepage": "https://github.com/TomasVotruba/Rector/graphs/contributors" }
|
|
],
|
|
"require": {
|
|
"php": "^7.1",
|
|
"cweagans/composer-patches": "^1.6",
|
|
"nette/utils": "^2.4",
|
|
"nikic/php-parser": "4.0.x-dev as 3.1.1",
|
|
"roave/better-reflection": "^2.0",
|
|
"symfony/console": "^3.3",
|
|
"symfony/dependency-injection": "^3.3",
|
|
"symplify/package-builder": "^2.4"
|
|
},
|
|
"require-dev": {
|
|
"phpstan/phpstan": "^0.8",
|
|
"phpunit/phpunit": "^6.2",
|
|
"slam/php-cs-fixer-extensions": "^1.6",
|
|
"symfony/expression-language": "^3.3",
|
|
"symfony/dependency-injection": "^3.3",
|
|
"symfony/form": "^3.3",
|
|
"symplify/easy-coding-standard": "^2.4",
|
|
"tracy/tracy": "^2.4"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Rector\\": "src",
|
|
"Rector\\BetterReflection\\": "packages/BetterReflection/src",
|
|
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
|
|
"Rector\\NodeTraverserQueue\\": "packages/NodeTraverserQueue/src",
|
|
"Rector\\DeprecationExtractor\\": "packages/DeprecationExtractor/src",
|
|
"Rector\\NodeValueResolver\\": "packages/NodeValueResolver/src"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Rector\\Tests\\": "tests",
|
|
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/tests",
|
|
"Rector\\DeprecationExtractor\\Tests\\": "packages/DeprecationExtractor/tests"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"all": ["phpunit", "@check-cs", "@phpstan"],
|
|
"check-cs": "ecs check bin packages src tests",
|
|
"fix-cs": "ecs check bin packages src tests --fix",
|
|
"phpstan": "phpstan analyse bin packages src tests --level max --configuration phpstan.neon",
|
|
"create-test-projects": [
|
|
"composer create-project nette/nette temp/nette --no-dev",
|
|
"composer create-project symfony/symfony temp/symfony --no-dev"
|
|
],
|
|
"process-test-projects": [
|
|
"bin/rector process temp/nette/vendor --config src/config/level/nette/all.yml",
|
|
"bin/rector process temp/symfony/src --config src/config/level/symfony/all.yml"
|
|
]
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"patches": {
|
|
"roave/better-reflection": {
|
|
"nikic/php-parser dev-version 1": "patches/better-reflection-php-parser-memoizing-parser.patch",
|
|
"nikic/php-parser dev-version 2": "patches/better-reflection-php-parser-reflection-function-abstract.patch",
|
|
"nikic/php-parser dev-version 3": "patches/better-reflection-php-parser-reflection-parameter.patch",
|
|
"nikic/php-parser dev-version 4": "patches/better-reflection-php-parser-reflection-class-get-short-name.patch",
|
|
"nikic/php-parser dev-version 5": "patches/better-reflection-php-parser-reflection-property.patch"
|
|
}
|
|
}
|
|
}
|
|
}
|