mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
132 lines
5.7 KiB
JSON
132 lines
5.7 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.2",
|
|
"nette/robot-loader": "^3.1",
|
|
"nette/utils": "^2.5",
|
|
"nikic/php-parser": "^4.0.4",
|
|
"phpstan/phpstan": "^0.10.3",
|
|
"sebastian/diff": "^3.0",
|
|
"symfony/console": "^3.4|^4.1",
|
|
"symfony/dependency-injection": "^3.4|^4.1",
|
|
"symfony/finder": "^3.4|^4.1",
|
|
"symfony/process": "^3.4|^4.1",
|
|
"symplify/better-phpdoc-parser": "^5.0.2",
|
|
"symplify/easy-coding-standard": "^5.0.2",
|
|
"symplify/package-builder": "^5.0.2",
|
|
"thecodingmachine/safe": "^0.1.4"
|
|
},
|
|
"require-dev": {
|
|
"humbug/php-scoper": "^0.9.2",
|
|
"phpunit/phpunit": "^7.3",
|
|
"symplify/changelog-linker": "^5.0.2",
|
|
"symplify/monorepo-builder": "^5.0.2",
|
|
"symplify/phpstan-extensions": "dev-master#b6919ae",
|
|
"thecodingmachine/phpstan-safe-rule": "^0.1.0",
|
|
"thecodingmachine/phpstan-strict-rules": "^0.10.3",
|
|
"tracy/tracy": "^2.5"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Rector\\": "src",
|
|
"Rector\\ConsoleDiffer\\": "packages/ConsoleDiffer/src",
|
|
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
|
|
"Rector\\Symfony\\": "packages/Symfony/src",
|
|
"Rector\\CakePHP\\": "packages/CakePHP/src",
|
|
"Rector\\Php\\": "packages/Php/src",
|
|
"Rector\\Silverstripe\\": "packages/Silverstripe/src",
|
|
"Rector\\ParameterGuider\\": "packages/ParameterGuider/src",
|
|
"Rector\\Sensio\\": "packages/Sensio/src",
|
|
"Rector\\Sylius\\": "packages/Sylius/src",
|
|
"Rector\\PHPUnit\\": "packages/PHPUnit/src",
|
|
"Rector\\Twig\\": "packages/Twig/src",
|
|
"Rector\\PhpParser\\": "packages/PhpParser/src",
|
|
"Rector\\Doctrine\\": "packages/Doctrine/src",
|
|
"Rector\\Utils\\": "packages/Utils/src",
|
|
"Rector\\YamlRector\\": "packages/YamlRector/src",
|
|
"Rector\\FileSystemRector\\": "packages/FileSystemRector/src"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Rector\\Tests\\": "tests",
|
|
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/tests",
|
|
"Rector\\CakePHP\\Tests\\": "packages/CakePHP/tests",
|
|
"Rector\\Php\\Tests\\": "packages/Php/tests",
|
|
"Rector\\Symfony\\Tests\\": "packages/Symfony/tests",
|
|
"Rector\\Silverstripe\\Tests\\": "packages/Silverstripe/tests",
|
|
"Rector\\Sensio\\Tests\\": "packages/Sensio/tests",
|
|
"Rector\\Sylius\\Tests\\": "packages/Sylius/tests",
|
|
"Rector\\PHPUnit\\Tests\\": "packages/PHPUnit/tests",
|
|
"Rector\\PhpParser\\Tests\\": "packages/PhpParser/tests",
|
|
"Rector\\Utils\\Tests\\": "packages/Utils/tests",
|
|
"Rector\\Twig\\Tests\\": "packages/Twig/tests",
|
|
"Rector\\Doctrine\\Tests\\": "packages/Doctrine/tests",
|
|
"Rector\\YamlRector\\Tests\\": "packages/YamlRector/tests",
|
|
"Rector\\FileSystemRector\\Tests\\": "packages/FileSystemRector/tests"
|
|
},
|
|
"classmap": [
|
|
"packages/CakePHP/tests",
|
|
"packages/Doctrine/tests",
|
|
"packages/FileSystemRector/tests",
|
|
"packages/NodeTypeResolver/tests",
|
|
"packages/ParameterGuider/tests",
|
|
"packages/PhpParser/tests",
|
|
"packages/PHPUnit/tests",
|
|
"packages/Sensio/tests",
|
|
"packages/Silverstripe/tests",
|
|
"packages/Sylius/tests",
|
|
"packages/Symfony/tests",
|
|
"packages/Twig/tests",
|
|
"packages/Utils/tests",
|
|
"tests/Issues",
|
|
"tests/Rector"
|
|
],
|
|
"files": [
|
|
"tests/Rector/Psr4/MultipleClassFileToPsr4ClassesRector/Source/exceptions.php",
|
|
"tests/Rector/Psr4/MultipleClassFileToPsr4ClassesRector/Source/nette-exceptions.php",
|
|
"tests/Rector/Psr4/MultipleClassFileToPsr4ClassesRector/Source/exception.php"
|
|
]
|
|
},
|
|
"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_trailing_spaces.sh"
|
|
],
|
|
"phpstan": "vendor/bin/phpstan analyse packages src tests --level max",
|
|
"update-docs": "bin/rector generate-rector-overview > docs/AllRectorsOverview.md",
|
|
"changelog": [
|
|
"vendor/bin/changelog-linker dump-merges --in-categories",
|
|
"vendor/bin/changelog-linker linkify"
|
|
],
|
|
"rector-prefixed": [
|
|
"bin/rector-prefixed/build-prefixed-rector.sh",
|
|
"bin/rector-prefixed/publish-to-github.sh"
|
|
]
|
|
},
|
|
"scripts-descriptions": {
|
|
"rector-prefixed": "Builds new version of rector/rector-prefixed and pushes it to Github",
|
|
"update-docs": "Regenerate descriptions of all Rectors to docs/AllRectorsOverview.md file",
|
|
"changelog": "Generates new changelog for new merged PRs into CHANGELOG.md"
|
|
},
|
|
"bin": ["bin/rector"],
|
|
"config": {
|
|
"sort-packages": true
|
|
}
|
|
}
|