mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "rector/rector",
|
|
"description": "Refactor legacy code to modern frameworks.",
|
|
"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",
|
|
"nikic/php-parser": "4.0.x-dev as 3.0.2",
|
|
"nette/utils": "^2.4",
|
|
"phpstan/phpstan": "^0.8"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^6.2",
|
|
"tracy/tracy": "^2.4",
|
|
"symplify/easy-coding-standard": "^2.2"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Rector\\": "src",
|
|
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Rector\\Tests\\": "tests"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"all": ["phpunit", "@check-cs", "@phpstan"],
|
|
"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"
|
|
}
|
|
}
|