mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
74 lines
2.9 KiB
JSON
74 lines
2.9 KiB
JSON
{
|
|
"name": "rector/rector",
|
|
"description": "AST based PHP refactoring of Nette or Symfony application to most recent versions.",
|
|
"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",
|
|
"gecko-packages/gecko-diff-output-builder": "^1.0",
|
|
"nette/utils": "^2.4",
|
|
"nikic/php-parser": "4.0.x-dev",
|
|
"phpdocumentor/reflection-docblock": "^4.1",
|
|
"phpdocumentor/type-resolver": "^0.4",
|
|
"rector/better-reflection": "^3.0.6",
|
|
"symfony/console": "^4.0",
|
|
"symfony/dependency-injection": "^4.0",
|
|
"symfony/finder": "^4.0",
|
|
"symplify/easy-coding-standard": "^3.0",
|
|
"webmozart/assert": "^1.2"
|
|
},
|
|
"require-dev": {
|
|
"latte/latte": "^2.4",
|
|
"nette/application": "^2.4",
|
|
"nette/di": "^2.4",
|
|
"nette/forms": "^2.4",
|
|
"phpstan/phpstan-shim": "^0.9",
|
|
"phpunit/phpunit": "^6.5",
|
|
"symplify/coding-standard": "^3.0",
|
|
"slam/php-cs-fixer-extensions": "^1.10",
|
|
"symfony/expression-language": "^4.0",
|
|
"symfony/form": "^4.0",
|
|
"tracy/tracy": "^2.4"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Rector\\": "src",
|
|
"Rector\\BetterReflection\\": "packages/BetterReflection/src",
|
|
"Rector\\ConsoleDiffer\\": "packages/ConsoleDiffer/src",
|
|
"Rector\\ReflectionDocBlock\\": "packages/ReflectionDocBlock/src",
|
|
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
|
|
"Rector\\NodeTraverserQueue\\": "packages/NodeTraverserQueue/src",
|
|
"Rector\\NodeValueResolver\\": "packages/NodeValueResolver/src"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Rector\\Tests\\": "tests",
|
|
"Rector\\BetterReflection\\Tests\\": "packages/BetterReflection/tests",
|
|
"Rector\\ReflectionDocBlock\\Tests\\": "packages/ReflectionDocBlock/tests",
|
|
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/tests",
|
|
"Rector\\NodeTraverserQueue\\Tests\\": "packages/NodeTraverserQueue/tests",
|
|
"Rector\\NodeValueResolver\\Tests\\": "packages/NodeValueResolver/tests"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"all": ["@check-cs", "phpunit"],
|
|
"check-cs": "vendor/bin/ecs check bin packages src tests",
|
|
"fix-cs": "vendor/bin/ecs check bin packages src tests --fix",
|
|
"phpstan": "vendor/bin/phpstan.phar analyse packages src tests --level max --configuration phpstan.neon"
|
|
},
|
|
"bin": [
|
|
"bin/rector",
|
|
"bin/rector.php",
|
|
"bin/rector_bootstrap.php"
|
|
],
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
}
|