mirror of
https://github.com/rectorphp/rector.git
synced 2024-09-03 14:11:42 +00:00
77 lines
3.1 KiB
JSON
77 lines
3.1 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",
|
|
"klausi/yaml_comments": "0.x-dev",
|
|
"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.8",
|
|
"symfony/expression-language": "^4.0",
|
|
"symfony/form": "^4.0",
|
|
"tracy/tracy": "^2.4"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Rector\\": "src",
|
|
"Rector\\BetterReflection\\": "packages/BetterReflection/src",
|
|
"Rector\\ReflectionDocBlock\\": "packages/ReflectionDocBlock/src",
|
|
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
|
|
"Rector\\NodeTraverserQueue\\": "packages/NodeTraverserQueue/src",
|
|
"Rector\\DeprecationExtractor\\": "packages/DeprecationExtractor/src",
|
|
"Rector\\NodeValueResolver\\": "packages/NodeValueResolver/src",
|
|
"Rector\\YamlParser\\": "packages/YamlParser/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\\DeprecationExtractor\\Tests\\": "packages/DeprecationExtractor/tests",
|
|
"Rector\\NodeValueResolver\\Tests\\": "packages/NodeValueResolver/tests",
|
|
"Rector\\YamlParser\\Tests\\": "packages/YamlParser/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
|
|
}
|