{ "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", "symplify/package-builder": "^3.0", "symplify/token-runner": "^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": { "complete-check": [ "@check-cs", "phpunit", "@phpstan" ], "check-cs": "vendor/bin/ecs check bin packages src tests", "fix-cs": [ "vendor/bin/ecs check bin packages src tests --fix", "bin/clean_levels.sh" ], "phpstan": "vendor/bin/phpstan.phar analyse packages src tests --level max --configuration phpstan.neon" }, "bin": [ "bin/rector", "bin/rector_bootstrap.php" ], "config": { "sort-packages": true }, "minimum-stability": "dev", "prefer-stable": true }