2017-07-15 19:01:21 +02:00
|
|
|
{
|
|
|
|
"name": "rector/rector",
|
2017-08-24 12:19:09 +02:00
|
|
|
"description": "AST based PHP refactoring of Nette or Symfony application to most recent versions.",
|
2017-07-15 19:01:21 +02:00
|
|
|
"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",
|
2017-09-21 10:26:45 +02:00
|
|
|
"cweagans/composer-patches": "^1.6",
|
|
|
|
"nette/utils": "^2.4",
|
2017-09-14 01:11:50 +02:00
|
|
|
"nikic/php-parser": "4.0.x-dev as 3.1.1",
|
2017-09-21 10:26:45 +02:00
|
|
|
"roave/better-reflection": "^2.0",
|
|
|
|
"symfony/console": "^3.3",
|
2017-09-26 11:12:39 +02:00
|
|
|
"symfony/dependency-injection": "^3.3",
|
|
|
|
"symplify/package-builder": "^2.4"
|
2017-07-15 19:01:21 +02:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2017-08-20 01:04:06 +02:00
|
|
|
"phpstan/phpstan": "^0.8",
|
2017-08-31 18:24:09 +02:00
|
|
|
"phpunit/phpunit": "^6.2",
|
2017-09-20 17:43:29 +02:00
|
|
|
"slam/php-cs-fixer-extensions": "^1.6",
|
2017-09-10 15:12:15 +02:00
|
|
|
"symfony/expression-language": "^3.3",
|
2017-09-29 14:06:16 +02:00
|
|
|
"symfony/dependency-injection": "^3.3",
|
2017-08-31 18:24:09 +02:00
|
|
|
"symfony/form": "^3.3",
|
2017-09-21 10:26:45 +02:00
|
|
|
"symplify/easy-coding-standard": "^2.4",
|
2017-08-31 18:24:09 +02:00
|
|
|
"tracy/tracy": "^2.4"
|
2017-07-15 19:01:21 +02:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2017-08-18 22:59:59 +02:00
|
|
|
"Rector\\": "src",
|
2017-09-21 10:26:45 +02:00
|
|
|
"Rector\\BetterReflection\\": "packages/BetterReflection/src",
|
2017-09-05 23:51:16 +02:00
|
|
|
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
|
2017-09-27 16:46:05 +02:00
|
|
|
"Rector\\NodeTraverserQueue\\": "packages/NodeTraverserQueue/src",
|
2017-09-14 01:11:50 +02:00
|
|
|
"Rector\\DeprecationExtractor\\": "packages/DeprecationExtractor/src",
|
|
|
|
"Rector\\NodeValueResolver\\": "packages/NodeValueResolver/src"
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2017-08-20 00:51:00 +02:00
|
|
|
"Rector\\Tests\\": "tests",
|
2017-09-05 23:51:16 +02:00
|
|
|
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/tests",
|
2017-09-27 16:46:05 +02:00
|
|
|
"Rector\\DeprecationExtractor\\Tests\\": "packages/DeprecationExtractor/tests"
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
2017-08-06 19:00:25 +02:00
|
|
|
"all": ["phpunit", "@check-cs", "@phpstan"],
|
2017-08-20 17:20:33 +02:00
|
|
|
"check-cs": "ecs check bin packages src tests",
|
|
|
|
"fix-cs": "ecs check bin packages src tests --fix",
|
2017-09-28 22:53:08 +02:00
|
|
|
"phpstan": "phpstan analyse bin packages src tests --level max --configuration phpstan.neon",
|
2017-09-29 12:41:17 +02:00
|
|
|
"create-test-projects": [
|
2017-09-29 12:58:16 +02:00
|
|
|
"composer create-project nette/nette temp/nette --no-dev",
|
|
|
|
"composer create-project symfony/symfony temp/symfony --no-dev"
|
2017-09-29 12:41:17 +02:00
|
|
|
],
|
|
|
|
"process-test-projects": [
|
2017-09-29 14:34:44 +02:00
|
|
|
"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"
|
2017-09-29 12:26:22 +02:00
|
|
|
]
|
2017-08-20 01:46:12 +02:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"sort-packages": true
|
2017-09-21 10:26:45 +02:00
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"patches": {
|
|
|
|
"roave/better-reflection": {
|
2017-09-29 13:45:56 +02:00
|
|
|
"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",
|
2017-09-30 16:14:20 +02:00
|
|
|
"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"
|
2017-09-21 10:26:45 +02:00
|
|
|
}
|
|
|
|
}
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
}
|