rector/composer.json

216 lines
12 KiB
JSON
Raw Normal View History

2017-07-15 19:01:21 +02:00
{
"name": "rector/rector",
"description": "Instant upgrade and refactoring of your PHP code",
"keywords": ["instant upgrades", "instant refactoring", "ast", "automated refactoring"],
2019-05-25 19:36:12 +02:00
"homepage": "https://getrector.org",
2017-07-15 19:01:21 +02:00
"license": "MIT",
2019-05-25 19:36:12 +02:00
"authors": [
{ "name": "Tomas Votruba", "email": "tomas.vot@gmail.com", "homepage": "https://tomasvotruba.com" },
{ "name": "Jan Mikes", "email": "j.mikes@me.com", "homepage": "https://janmikes.cz" }
],
"bin": ["bin/rector"],
2017-07-15 19:01:21 +02:00
"require": {
"php": "^7.1",
2018-11-06 23:12:02 +01:00
"composer/xdebug-handler": "^1.3",
"doctrine/annotations": "^1.6",
2019-05-12 18:26:23 +02:00
"doctrine/inflector": "^1.3",
2018-09-08 11:23:42 +02:00
"jean85/pretty-package-versions": "^1.2",
"nette/robot-loader": "^3.1",
2019-04-17 16:19:29 +02:00
"nette/utils": "^2.5|^3.0",
2019-08-30 23:49:34 +02:00
"nikic/php-parser": "^4.2.4",
"phpstan/phpdoc-parser": "^0.3.5",
2019-08-14 20:24:46 +02:00
"phpstan/phpstan": "^0.11.13",
"phpstan/phpstan-phpunit": "^0.9",
2019-10-10 11:41:02 +01:00
"ramsey/uuid": "^3.0",
"sebastian/diff": "^3.0",
2019-01-19 16:58:51 +01:00
"symfony/console": "^3.4|^4.2",
"symfony/dependency-injection": "^3.4|^4.2",
"symfony/finder": "^3.4|^4.2",
"symfony/process": "^3.4|^4.2",
2019-09-18 10:26:16 +02:00
"symplify/package-builder": "^6.1"
2017-07-15 19:01:21 +02:00
},
"require-dev": {
2019-04-13 15:03:02 +02:00
"friendsofphp/php-cs-fixer": "^2.14",
"jetbrains/phpstorm-stubs": "^2019.1",
"mockery/mockery": "^1.2",
2019-04-29 06:18:05 +02:00
"ocramius/package-versions": "^1.4",
2019-02-06 11:48:24 +01:00
"phpunit/phpunit": "^7.5|^8.0",
2019-09-18 10:26:16 +02:00
"symplify/changelog-linker": "^6.1",
"symplify/easy-coding-standard": "^6.1",
"symplify/monorepo-builder": "^6.1",
"symplify/phpstan-extensions": "^6.1",
2019-04-29 06:18:05 +02:00
"thecodingmachine/phpstan-strict-rules": "^0.11",
2018-08-20 21:14:50 +02:00
"tracy/tracy": "^2.5"
2017-07-15 19:01:21 +02:00
},
"autoload": {
"psr-4": {
"Rector\\": "src",
2019-09-14 16:56:09 +02:00
"Rector\\Autodiscovery\\": "packages/Autodiscovery/src",
2019-08-24 13:42:40 +02:00
"Rector\\Architecture\\": "packages/Architecture/src",
2019-02-28 22:50:53 +01:00
"Rector\\BetterPhpDocParser\\": "packages/BetterPhpDocParser/src",
2019-08-24 13:42:40 +02:00
"Rector\\CakePHP\\": "packages/CakePHP/src",
"Rector\\Celebrity\\": "packages/Celebrity/src",
"Rector\\CodeQuality\\": "packages/CodeQuality/src",
"Rector\\CodingStyle\\": "packages/CodingStyle/src",
2019-08-24 13:42:40 +02:00
"Rector\\ConsoleDiffer\\": "packages/ConsoleDiffer/src",
"Rector\\DeadCode\\": "packages/DeadCode/src",
2019-08-24 13:42:40 +02:00
"Rector\\Doctrine\\": "packages/Doctrine/src",
"Rector\\DoctrineCodeQuality\\": "packages/DoctrineCodeQuality/src",
2019-08-24 13:42:40 +02:00
"Rector\\ElasticSearchDSL\\": "packages/ElasticSearchDSL/src",
"Rector\\FileSystemRector\\": "packages/FileSystemRector/src",
"Rector\\Guzzle\\": "packages/Guzzle/src",
2019-08-24 13:42:40 +02:00
"Rector\\Laravel\\": "packages/Laravel/src",
"Rector\\Legacy\\": "packages/Legacy/src",
"Rector\\MysqlToMysqli\\": "packages/MysqlToMysqli/src",
"Rector\\NetteTesterToPHPUnit\\": "packages/NetteTesterToPHPUnit/src",
"Rector\\NetteToSymfony\\": "packages/NetteToSymfony/src",
2019-08-24 13:42:40 +02:00
"Rector\\Nette\\": "packages/Nette/src",
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
"Rector\\PHPStan\\": "packages/PHPStan/src",
2019-08-24 13:42:40 +02:00
"Rector\\PHPUnitSymfony\\": "packages/PHPUnitSymfony/src",
"Rector\\PHPUnit\\": "packages/PHPUnit/src",
2019-08-24 13:42:40 +02:00
"Rector\\PSR4\\": "packages/PSR4/src",
"Rector\\PhpSpecToPHPUnit\\": "packages/PhpSpecToPHPUnit/src",
"Rector\\Php52\\": "packages/Php52/src",
"Rector\\Php53\\": "packages/Php53/src",
"Rector\\Php54\\": "packages/Php54/src",
"Rector\\Php55\\": "packages/Php55/src",
"Rector\\Php56\\": "packages/Php56/src",
"Rector\\Php70\\": "packages/Php70/src",
"Rector\\Php71\\": "packages/Php71/src",
"Rector\\Php72\\": "packages/Php72/src",
"Rector\\Php73\\": "packages/Php73/src",
"Rector\\Php74\\": "packages/Php74/src",
2019-08-24 13:42:40 +02:00
"Rector\\RemovingStatic\\": "packages/RemovingStatic/src",
2019-09-23 16:36:58 +02:00
"Rector\\Renaming\\": "packages/Renaming/src",
2019-08-24 13:42:40 +02:00
"Rector\\Restoration\\": "packages/Restoration/src",
"Rector\\Refactoring\\": "packages/Refactoring/src",
"Rector\\SOLID\\": "packages/SOLID/src",
2019-08-24 13:42:40 +02:00
"Rector\\Sensio\\": "packages/Sensio/src",
"Rector\\Shopware\\": "packages/Shopware/src",
"Rector\\Silverstripe\\": "packages/Silverstripe/src",
"Rector\\Sylius\\": "packages/Sylius/src",
"Rector\\SymfonyCodeQuality\\": "packages/SymfonyCodeQuality/src",
2019-08-24 13:42:40 +02:00
"Rector\\SymfonyPHPUnit\\": "packages/SymfonyPHPUnit/src",
"Rector\\Symfony\\": "packages/Symfony/src",
"Rector\\Twig\\": "packages/Twig/src",
"Rector\\TypeDeclaration\\": "packages/TypeDeclaration/src",
2019-09-13 09:01:27 +02:00
"Rector\\ZendToSymfony\\": "packages/ZendToSymfony/src",
2019-08-24 13:42:40 +02:00
"Rector\\Utils\\DocumentationGenerator\\": "utils/DocumentationGenerator/src",
"Rector\\Utils\\RectorGenerator\\": "utils/RectorGenerator/src",
"Rector\\StrictCodeQuality\\": "packages/StrictCodeQuality/src"
2019-09-10 14:46:38 +02:00
}
2017-07-15 19:01:21 +02:00
},
"autoload-dev": {
"psr-4": {
"Rector\\Tests\\": "tests",
2019-09-14 16:56:09 +02:00
"Rector\\Autodiscovery\\Tests\\": "packages/Autodiscovery/tests",
2019-08-24 13:42:40 +02:00
"Rector\\Architecture\\Tests\\": "packages/Architecture/tests",
2019-02-28 22:50:53 +01:00
"Rector\\BetterPhpDocParser\\Tests\\": "packages/BetterPhpDocParser/tests",
"Rector\\CakePHP\\Tests\\": "packages/CakePHP/tests",
2019-08-24 13:42:40 +02:00
"Rector\\Celebrity\\Tests\\": "packages/Celebrity/tests",
"Rector\\CodeQuality\\Tests\\": "packages/CodeQuality/tests",
"Rector\\CodingStyle\\Tests\\": "packages/CodingStyle/tests",
2019-08-24 13:42:40 +02:00
"Rector\\DeadCode\\Tests\\": "packages/DeadCode/tests",
"Rector\\Doctrine\\Tests\\": "packages/Doctrine/tests",
"Rector\\DoctrineCodeQuality\\Tests\\": "packages/DoctrineCodeQuality/tests",
2019-08-24 13:42:40 +02:00
"Rector\\ElasticSearchDSL\\Tests\\": "packages/ElasticSearchDSL/tests",
"Rector\\Guzzle\\Tests\\": "packages/Guzzle/tests",
2019-08-24 13:42:40 +02:00
"Rector\\Laravel\\Tests\\": "packages/Laravel/tests",
"Rector\\Legacy\\Tests\\": "packages/Legacy/tests",
"Rector\\MysqlToMysqli\\Tests\\": "packages/MysqlToMysqli/tests",
"Rector\\NetteTesterToPHPUnit\\Tests\\": "packages/NetteTesterToPHPUnit/tests",
"Rector\\NetteToSymfony\\Tests\\": "packages/NetteToSymfony/tests",
"Rector\\Nette\\Tests\\": "packages/Nette/tests",
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/tests",
"Rector\\PHPStanExtensions\\": "utils/PHPStanExtensions/src",
"Rector\\PHPStan\\Tests\\": "packages/PHPStan/tests",
2019-08-24 13:42:40 +02:00
"Rector\\PHPUnitSymfony\\Tests\\": "packages/PHPUnitSymfony/tests",
"Rector\\PHPUnit\\Tests\\": "packages/PHPUnit/tests",
"Rector\\PSR4\\Tests\\": "packages/PSR4/tests",
2019-03-15 11:53:06 +01:00
"Rector\\PhpSpecToPHPUnit\\Tests\\": "packages/PhpSpecToPHPUnit/tests",
"Rector\\Php52\\Tests\\": "packages/Php52/tests",
"Rector\\Php53\\Tests\\": "packages/Php53/tests",
"Rector\\Php54\\Tests\\": "packages/Php54/tests",
"Rector\\Php55\\Tests\\": "packages/Php55/tests",
"Rector\\Php56\\Tests\\": "packages/Php56/tests",
"Rector\\Php70\\Tests\\": "packages/Php70/tests",
"Rector\\Php71\\Tests\\": "packages/Php71/tests",
"Rector\\Php72\\Tests\\": "packages/Php72/tests",
"Rector\\Php73\\Tests\\": "packages/Php73/tests",
"Rector\\Php74\\Tests\\": "packages/Php74/tests",
2019-08-24 13:42:40 +02:00
"Rector\\RemovingStatic\\Tests\\": "packages/RemovingStatic/tests",
2019-09-23 16:36:58 +02:00
"Rector\\Renaming\\Tests\\": "packages/Renaming/tests",
2019-08-24 13:42:40 +02:00
"Rector\\Restoration\\Tests\\": "packages/Restoration/tests",
"Rector\\SOLID\\Tests\\": "packages/SOLID/tests",
2019-08-24 13:42:40 +02:00
"Rector\\Sensio\\Tests\\": "packages/Sensio/tests",
"Rector\\Shopware\\Tests\\": "packages/Shopware/tests",
"Rector\\Silverstripe\\Tests\\": "packages/Silverstripe/tests",
"Rector\\Sylius\\Tests\\": "packages/Sylius/tests",
"Rector\\SymfonyCodeQuality\\Tests\\": "packages/SymfonyCodeQuality/tests",
2019-08-24 13:42:40 +02:00
"Rector\\SymfonyPHPUnit\\Tests\\": "packages/SymfonyPHPUnit/tests",
"Rector\\Symfony\\Tests\\": "packages/Symfony/tests",
"Rector\\Twig\\Tests\\": "packages/Twig/tests",
2019-09-13 09:01:27 +02:00
"Rector\\TypeDeclaration\\Tests\\": "packages/TypeDeclaration/tests",
"Rector\\ZendToSymfony\\Tests\\": "packages/ZendToSymfony/tests",
"Rector\\StrictCodeQuality\\Tests\\": "packages/StrictCodeQuality/tests"
},
2018-05-30 14:59:09 +02:00
"classmap": [
"packages/Symfony/tests/Rector/FrameworkBundle/AbstractToConstructorInjectionRectorSource",
"packages/Symfony/tests/Rector/FrameworkBundle/ContainerGetToConstructorInjectionRector/Source",
"packages/NodeTypeResolver/tests/PerNodeTypeResolver/ParamTypeResolver/Source",
"packages/NodeTypeResolver/tests/PerNodeTypeResolver/PropertyTypeResolver/Source",
"tests/Source",
"tests/Rector/Psr4/MultipleClassFileToPsr4ClassesRector/Source",
2019-09-10 08:21:20 +02:00
"tests/Rector/Namespace_/PseudoNamespaceToNamespaceRector/Source",
2019-09-15 20:54:06 +02:00
"tests/Issues/Issue1243/Source",
"packages/Autodiscovery/tests/Rector/FileSystem/MoveInterfacesToContractNamespaceDirectoryRector/Expected",
"packages/Autodiscovery/tests/Rector/FileSystem/MoveServicesBySuffixToDirectoryRector/Expected"
],
"files": [
"packages/DeadCode/tests/Rector/MethodCall/RemoveDefaultArgumentValueRector/Source/UserDefined.php",
"packages/TypeDeclaration/tests/Rector/Property/CompleteVarDocTypePropertyRector/Source/EventDispatcher.php",
"tests/Rector/Namespace_/PseudoNamespaceToNamespaceRector/Source/ChangeMeAnotherNamespace.php",
2019-09-11 13:00:43 +02:00
"packages/TypeDeclaration/tests/Rector/FunctionLike/ReturnTypeDeclarationRector/Source/MyBar.php",
"packages/Renaming/tests/Rector/Class_/RenameClassRector/Source/Twig_Extension_Sandbox.php",
"packages/Renaming/tests/Rector/Class_/RenameClassRector/Source/TwigFilter.php",
"packages/Renaming/tests/Rector/Class_/RenameClassRector/Source/Manual_Twig_Filter.php",
"packages/SOLID/tests/Rector/ClassMethod/UseInterfaceOverImplementationInConstructorRector/Source/Apple.php"
2018-05-30 14:59:09 +02:00
]
2017-07-15 19:01:21 +02:00
},
"scripts": {
"complete-check": [
"@check-cs",
"phpunit",
"@phpstan",
2019-07-05 17:44:36 -03:00
"@docs"
],
2019-04-03 21:26:53 +02:00
"check-cs": "vendor/bin/ecs check bin packages src tests utils --ansi",
2017-12-30 15:41:49 -02:00
"fix-cs": [
2019-04-03 21:26:53 +02:00
"vendor/bin/ecs check bin packages src tests utils --fix --ansi",
"bin/clean_trailing_spaces.sh"
2017-12-30 15:41:49 -02:00
],
2019-04-03 21:26:53 +02:00
"phpstan": "vendor/bin/phpstan analyse packages src tests --error-format symplify --ansi",
2019-04-13 15:03:02 +02:00
"changelog": [
"vendor/bin/changelog-linker dump-merges --in-categories",
"vendor/bin/changelog-linker link",
"vendor/bin/changelog-linker cleanup"
],
2019-02-23 00:49:04 +01:00
"docs": [
"bin/rector dump-rectors -o markdown > docs/AllRectorsOverview.md",
"bin/rector dump-nodes -o markdown > docs/NodesOverview.md"
]
2017-08-20 01:46:12 +02:00
},
"scripts-descriptions": {
"docs": "Regenerate descriptions of all Rectors to docs/AllRectorsOverview.md file"
},
2017-08-20 01:46:12 +02:00
"config": {
"sort-packages": true
2019-03-22 11:00:46 +01:00
},
"extra": {
"branch-alias": {
2019-08-24 13:45:17 +02:00
"dev-master": "0.6-dev"
2019-03-22 11:00:46 +01:00
}
2019-02-16 23:27:37 +01:00
}
}