rector/composer.json

74 lines
2.8 KiB
JSON

{
"name": "rector/rector",
"description": "Upgrade your application with CLI without any deprecations knowledge.",
"license": "MIT",
"authors": [
{ "name": "Tomas Votruba", "email": "tomas.vot@gmail.com", "homepage": "https://tomasvotruba.com" },
{ "name": "Gabriel Caruso", "email": "carusogabriel34@gmail.com", "homepage": "https://github.com/carusogabriel" },
{ "name": "Rector Contributors", "homepage": "https://github.com/rectorphp/rector/graphs/contributors" }
],
"require": {
"php": "^7.1",
"jean85/pretty-package-versions": "^1.1",
"nette/robot-loader": "^3.0",
"nette/utils": "^2.5",
"nikic/php-parser": "^4.0",
"phpdocumentor/reflection-docblock": "^4.3",
"phpdocumentor/type-resolver": "^0.4",
"rector/better-reflection": "^4.0",
"sebastian/diff": "^3.0",
"symfony/console": "^4.0",
"symfony/dependency-injection": "^4.0",
"symfony/finder": "^4.0",
"symplify/better-reflection-docblock": "^4.0",
"symplify/better-phpdoc-parser": "^4.1",
"symplify/package-builder": "^4.1"
},
"require-dev": {
"phpstan/phpstan-shim": "^0.9",
"phpunit/phpunit": "^7.1",
"slam/php-cs-fixer-extensions": "^1.15",
"symfony/var-dumper": "^4.0",
"symplify/easy-coding-standard": "^4.1"
},
"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"
}
},
"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"
}
},
"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
}
}