rector/composer.json

75 lines
3.2 KiB
JSON
Raw Normal View History

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",
"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",
"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",
"phpunit/phpunit": "^6.2",
2017-09-20 17:43:29 +02:00
"slam/php-cs-fixer-extensions": "^1.6",
"symfony/expression-language": "^3.3",
2017-09-29 14:06:16 +02:00
"symfony/dependency-injection": "^3.3",
"symfony/form": "^3.3",
"symplify/easy-coding-standard": "^2.4",
"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",
"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": {
"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"],
"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",
"create-test-projects": [
"composer create-project nette/nette temp/nette --no-dev",
"composer create-project symfony/symfony temp/symfony --no-dev"
],
"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
},
"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-07-15 19:01:21 +02:00
}
}