2017-07-15 19:01:21 +02:00
|
|
|
{
|
|
|
|
"name": "rector/rector",
|
2018-01-10 02:55:24 -02:00
|
|
|
"description": "Upgrade your application with CLI without any deprecations knowledge.",
|
2017-07-15 19:01:21 +02:00
|
|
|
"license": "MIT",
|
|
|
|
"authors": [
|
|
|
|
{ "name": "Tomas Votruba", "email": "tomas.vot@gmail.com", "homepage": "https://tomasvotruba.com" },
|
2018-03-06 20:21:01 +01:00
|
|
|
{ "name": "Gabriel Caruso", "email": "carusogabriel34@gmail.com", "homepage": "https://github.com/carusogabriel" },
|
2018-01-10 02:55:24 -02:00
|
|
|
{ "name": "Rector Contributors", "homepage": "https://github.com/rectorphp/rector/graphs/contributors" }
|
2017-07-15 19:01:21 +02:00
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"php": "^7.1",
|
2018-02-08 17:41:55 +01:00
|
|
|
"jean85/pretty-package-versions": "^1.1",
|
2018-01-07 00:00:40 +01:00
|
|
|
"nette/robot-loader": "^3.0",
|
2018-02-22 17:11:58 +01:00
|
|
|
"nette/utils": "^2.5",
|
2018-02-28 19:45:41 -03:00
|
|
|
"nikic/php-parser": "^4.0",
|
2018-02-05 11:59:07 -02:00
|
|
|
"sebastian/diff": "^3.0",
|
2017-12-01 20:43:27 +01:00
|
|
|
"symfony/console": "^4.0",
|
|
|
|
"symfony/dependency-injection": "^4.0",
|
|
|
|
"symfony/finder": "^4.0",
|
2018-05-26 13:03:07 -03:00
|
|
|
"roave/better-reflection": "^3.0",
|
2018-05-11 00:10:05 +02:00
|
|
|
"symplify/better-phpdoc-parser": "^4.2"
|
2017-07-15 19:01:21 +02:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2018-05-28 21:06:06 +02:00
|
|
|
"humbug/php-scoper": "@dev",
|
2017-12-09 21:58:36 +01:00
|
|
|
"phpstan/phpstan-shim": "^0.9",
|
2018-04-07 15:53:23 -03:00
|
|
|
"phpunit/phpunit": "^7.1",
|
2018-04-29 10:54:09 +02:00
|
|
|
"slam/php-cs-fixer-extensions": "^1.15",
|
2018-05-11 00:10:05 +02:00
|
|
|
"symplify/easy-coding-standard": "^4.2",
|
2018-05-05 10:53:48 +01:00
|
|
|
"tracy/tracy": "^2.4"
|
2017-07-15 19:01:21 +02:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2017-08-18 22:59:59 +02:00
|
|
|
"Rector\\": "src",
|
2017-09-21 10:26:45 +02:00
|
|
|
"Rector\\BetterReflection\\": "packages/BetterReflection/src",
|
2017-12-20 00:49:38 +01:00
|
|
|
"Rector\\ConsoleDiffer\\": "packages/ConsoleDiffer/src",
|
2018-05-04 11:30:27 +01:00
|
|
|
"Rector\\BetterPhpDocParser\\": "packages/BetterPhpDocParser/src",
|
2017-09-05 23:51:16 +02:00
|
|
|
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
|
2018-01-27 21:02:01 +01:00
|
|
|
"Rector\\NodeTraverserQueue\\": "packages/NodeTraverserQueue/src"
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2017-08-20 00:51:00 +02:00
|
|
|
"Rector\\Tests\\": "tests",
|
2017-09-30 16:50:04 +02:00
|
|
|
"Rector\\BetterReflection\\Tests\\": "packages/BetterReflection/tests",
|
2018-05-04 11:30:27 +01:00
|
|
|
"Rector\\BetterPhpDocParser\\Tests\\": "packages/BetterPhpDocParser/tests",
|
2017-09-05 23:51:16 +02:00
|
|
|
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/tests",
|
2018-01-27 21:02:01 +01:00
|
|
|
"Rector\\NodeTraverserQueue\\Tests\\": "packages/NodeTraverserQueue/tests"
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
2017-12-30 15:41:49 -02:00
|
|
|
"complete-check": [
|
|
|
|
"@check-cs",
|
|
|
|
"phpunit",
|
2018-04-29 20:30:34 -03:00
|
|
|
"@phpstan",
|
2018-04-30 08:40:52 -03:00
|
|
|
"@update-docs"
|
2017-12-30 15:41:49 -02:00
|
|
|
],
|
2017-11-13 02:57:38 +01:00
|
|
|
"check-cs": "vendor/bin/ecs check bin packages src tests",
|
2017-12-30 15:41:49 -02:00
|
|
|
"fix-cs": [
|
|
|
|
"vendor/bin/ecs check bin packages src tests --fix",
|
|
|
|
"bin/clean_levels.sh"
|
|
|
|
],
|
2018-04-29 20:30:34 -03:00
|
|
|
"phpstan": "vendor/bin/phpstan.phar analyse packages src tests --level max --configuration phpstan.neon",
|
2018-05-13 03:14:57 +02:00
|
|
|
"update-docs": "bin/rector describe --level all --format md > docs/AllRectorsOverview.md"
|
2017-08-20 01:46:12 +02:00
|
|
|
},
|
2017-11-04 10:35:59 +01:00
|
|
|
"bin": [
|
|
|
|
"bin/rector",
|
2017-11-04 13:03:37 +01:00
|
|
|
"bin/rector_bootstrap.php"
|
2017-11-04 10:35:59 +01:00
|
|
|
],
|
2017-08-20 01:46:12 +02:00
|
|
|
"config": {
|
|
|
|
"sort-packages": true
|
2018-04-07 15:53:23 -03:00
|
|
|
}
|
2017-07-15 19:01:21 +02:00
|
|
|
}
|