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-12-01 23:25:55 +01:00
|
|
|
"klausi/yaml_comments": "0.x-dev",
|
2017-12-10 00:28:53 +01:00
|
|
|
"nette/utils": "^2.4",
|
2017-12-10 00:24:43 +01:00
|
|
|
"nikic/php-parser": "4.0.x-dev",
|
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",
|
2017-12-10 00:24:43 +01:00
|
|
|
"rector/better-reflection": "^3.0.6",
|
2017-12-01 20:43:27 +01:00
|
|
|
"symfony/console": "^4.0",
|
|
|
|
"symfony/dependency-injection": "^4.0",
|
|
|
|
"symfony/finder": "^4.0",
|
2017-11-25 00:52:21 +01:00
|
|
|
"symplify/easy-coding-standard": "^3.0",
|
2017-12-20 00:00:01 +01:00
|
|
|
"webmozart/assert": "^1.2",
|
|
|
|
"friendsofphp/php-cs-fixer": "^2.9"
|
2017-07-15 19:01:21 +02:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2017-12-10 00:28:53 +01:00
|
|
|
"latte/latte": "^2.4",
|
|
|
|
"nette/application": "^2.4",
|
2017-11-14 05:11:31 +01:00
|
|
|
"nette/di": "^2.4",
|
2017-12-10 00:28:53 +01:00
|
|
|
"nette/forms": "^2.4",
|
2017-12-09 21:58:36 +01:00
|
|
|
"phpstan/phpstan-shim": "^0.9",
|
|
|
|
"phpunit/phpunit": "^6.5",
|
2017-11-25 00:52:21 +01:00
|
|
|
"symplify/coding-standard": "^3.0",
|
2017-12-19 03:23:23 +01:00
|
|
|
"slam/php-cs-fixer-extensions": "^1.10",
|
2017-12-01 20:43:27 +01:00
|
|
|
"symfony/expression-language": "^4.0",
|
|
|
|
"symfony/form": "^4.0",
|
2017-12-10 00:28:53 +01: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-11-21 15:48:30 +01:00
|
|
|
"Rector\\NodeValueResolver\\": "packages/NodeValueResolver/src",
|
|
|
|
"Rector\\YamlParser\\": "packages/YamlParser/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-11-21 15:48:30 +01:00
|
|
|
"Rector\\NodeValueResolver\\Tests\\": "packages/NodeValueResolver/tests",
|
|
|
|
"Rector\\YamlParser\\Tests\\": "packages/YamlParser/tests"
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
2017-10-29 23:40:29 +01:00
|
|
|
"all": ["@check-cs", "phpunit"],
|
2017-11-13 02:57:38 +01:00
|
|
|
"check-cs": "vendor/bin/ecs check bin packages src tests",
|
|
|
|
"fix-cs": "vendor/bin/ecs check bin packages src tests --fix",
|
2017-11-06 14:54:31 +01:00
|
|
|
"phpstan": "vendor/bin/phpstan.phar analyse packages src tests --level max --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-11-25 00:52:21 +01:00
|
|
|
},
|
2017-12-09 21:58:36 +01:00
|
|
|
"minimum-stability": "dev",
|
|
|
|
"prefer-stable": true
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|