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-10-14 21:00:26 +02:00
|
|
|
"beberlei/assert": "^2.7",
|
2017-09-21 10:26:45 +02:00
|
|
|
"nette/utils": "^2.4",
|
2017-10-29 12:49:14 +01:00
|
|
|
"nikic/php-parser": "dev-master#5900d78 as v3.1.1",
|
2017-10-24 22:16:48 +02:00
|
|
|
"phpdocumentor/reflection-docblock": "^4.1",
|
2017-11-05 20:27:25 +01:00
|
|
|
"phpdocumentor/type-resolver": "^0.4",
|
|
|
|
"rector/better-reflection": "^3.0",
|
2017-09-21 10:26:45 +02:00
|
|
|
"symfony/console": "^3.3",
|
2017-09-26 11:12:39 +02:00
|
|
|
"symfony/dependency-injection": "^3.3",
|
2017-11-04 13:23:20 +01:00
|
|
|
"symfony/finder": "^3.3",
|
2017-10-11 20:30:52 +02:00
|
|
|
"symplify/package-builder": "^2.5"
|
2017-07-15 19:01:21 +02:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2017-10-26 11:40:22 +02:00
|
|
|
"latte/latte": "^2.4",
|
2017-10-26 00:20:38 +02:00
|
|
|
"nette/application": "^2.4",
|
2017-10-26 02:09:41 +02:00
|
|
|
"nette/forms": "^2.4",
|
2017-11-06 03:53:05 +01:00
|
|
|
"phpstan/phpstan-shim": "^0.8.5",
|
2017-10-20 13:56:04 +02:00
|
|
|
"phpunit/phpunit": "^6.4",
|
|
|
|
"slam/php-cs-fixer-extensions": "^1.7",
|
2017-09-10 15:12:15 +02:00
|
|
|
"symfony/expression-language": "^3.3",
|
2017-08-31 18:24:09 +02:00
|
|
|
"symfony/form": "^3.3",
|
2017-10-25 01:11:22 +02:00
|
|
|
"symplify/easy-coding-standard": "^2.5",
|
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-10-24 22:16:48 +02:00
|
|
|
"Rector\\ReflectionDocBlock\\": "packages/ReflectionDocBlock/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-30 16:50:04 +02:00
|
|
|
"Rector\\BetterReflection\\Tests\\": "packages/BetterReflection/tests",
|
2017-10-24 23:13:24 +02:00
|
|
|
"Rector\\ReflectionDocBlock\\Tests\\": "packages/ReflectionDocBlock/tests",
|
2017-09-05 23:51:16 +02:00
|
|
|
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/tests",
|
2017-11-06 11:40:43 +01:00
|
|
|
"Rector\\NodeTraverserQueue\\Tests\\": "packages/NodeTraverserQueue/tests",
|
2017-10-16 23:57:46 +02:00
|
|
|
"Rector\\DeprecationExtractor\\Tests\\": "packages/DeprecationExtractor/tests",
|
|
|
|
"Rector\\NodeValueResolver\\Tests\\": "packages/NodeValueResolver/tests"
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
2017-10-29 23:40:29 +01:00
|
|
|
"all": ["@check-cs", "phpunit"],
|
2017-08-20 17:20:33 +02:00
|
|
|
"check-cs": "ecs check bin packages src tests",
|
2017-11-06 03:53:05 +01:00
|
|
|
"fix-cs": "ecs check bin packages src tests --fix",
|
2017-11-06 14:54:16 +01:00
|
|
|
"phpstan": "vendor/bin/phpstan.phar analyse packages src tests --level 7 --configuration phpstan.neon"
|
2017-08-20 01:46:12 +02:00
|
|
|
},
|
2017-11-04 10:35:59 +01:00
|
|
|
"bin": [
|
|
|
|
"bin/rector",
|
2017-11-04 12:45:59 +01:00
|
|
|
"bin/rector.php",
|
2017-11-04 13:03:37 +01:00
|
|
|
"bin/rector_bootstrap.php"
|
2017-11-04 10:35:59 +01:00
|
|
|
],
|
2017-08-20 01:46:12 +02:00
|
|
|
"config": {
|
|
|
|
"sort-packages": true
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
}
|