2017-07-15 19:01:21 +02:00
|
|
|
{
|
|
|
|
"name": "rector/rector",
|
2017-08-08 01:15:01 +02:00
|
|
|
"description": "Refactor legacy code to modern frameworks.",
|
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",
|
|
|
|
"symfony/console": "^3.3",
|
|
|
|
"symfony/dependency-injection": "^3.3",
|
2017-07-16 22:43:11 +02:00
|
|
|
"nikic/php-parser": "4.0.x-dev as 3.0.2",
|
2017-08-15 13:26:00 +02:00
|
|
|
"nette/utils": "^2.4",
|
|
|
|
"phpstan/phpstan": "^0.8"
|
2017-07-15 19:01:21 +02:00
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"phpunit/phpunit": "^6.2",
|
|
|
|
"tracy/tracy": "^2.4",
|
2017-08-20 00:51:00 +02:00
|
|
|
"symplify/easy-coding-standard": "^2.2",
|
|
|
|
"slam/php-cs-fixer-extensions": "^1.4"
|
2017-07-15 19:01:21 +02:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2017-08-18 22:59:59 +02:00
|
|
|
"Rector\\": "src",
|
|
|
|
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src"
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2017-08-20 00:51:00 +02:00
|
|
|
"Rector\\Tests\\": "tests",
|
|
|
|
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/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-03 19:11:32 +02:00
|
|
|
"check-cs": "ecs check bin src tests",
|
|
|
|
"fix-cs": "ecs check bin src tests --fix",
|
|
|
|
"phpstan": "phpstan analyse bin src tests --level 7 --configuration phpstan.neon"
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
}
|