rector/composer.json
2018-06-02 13:06:44 +02:00

82 lines
3.2 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.1",
"sebastian/diff": "^3.0",
"symfony/console": "^3.4|^4.0",
"symfony/dependency-injection": "^3.4|^4.0",
"symfony/finder": "^3.4|^4.0",
"roave/better-reflection": "^3.0",
"symplify/better-phpdoc-parser": "^4.3"
},
"require-dev": {
"humbug/php-scoper": "dev-master",
"phpstan/phpstan-shim": "^0.9",
"phpunit/phpunit": "^7.1",
"slam/php-cs-fixer-extensions": "^1.15",
"symplify/easy-coding-standard": "^4.3",
"tracy/tracy": "^2.4"
},
"autoload": {
"psr-4": {
"Rector\\": "src",
"Rector\\BetterReflection\\": "packages/BetterReflection/src",
"Rector\\ConsoleDiffer\\": "packages/ConsoleDiffer/src",
"Rector\\BetterPhpDocParser\\": "packages/BetterPhpDocParser/src",
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
"Rector\\NodeTraverserQueue\\": "packages/NodeTraverserQueue/src",
"Rector\\Symfony\\": "packages/Symfony/src",
"Rector\\Sensio\\": "packages/Sensio/src",
"Rector\\Nette\\": "packages/Nette/src"
}
},
"autoload-dev": {
"psr-4": {
"Rector\\Tests\\": "tests",
"Rector\\BetterReflection\\Tests\\": "packages/BetterReflection/tests",
"Rector\\BetterPhpDocParser\\Tests\\": "packages/BetterPhpDocParser/tests",
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/tests",
"Rector\\NodeTraverserQueue\\Tests\\": "packages/NodeTraverserQueue/tests",
"Rector\\Symfony\\Tests\\": "packages/Symfony/tests",
"Rector\\Sensio\\Tests\\": "packages/Sensio/tests",
"Rector\\Nette\\Tests\\": "packages/Nette/tests"
},
"classmap": [
"packages/Symfony/tests"
]
},
"scripts": {
"complete-check": [
"@check-cs",
"phpunit",
"@phpstan",
"@update-docs"
],
"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",
"update-docs": "bin/rector describe --level all --format md > docs/AllRectorsOverview.md"
},
"bin": [
"bin/rector",
"bin/rector_bootstrap.php"
],
"config": {
"sort-packages": true
}
}