rector/composer.json

225 lines
13 KiB
JSON
Raw Normal View History

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-09-08 11:23:42 +02:00
"jean85/pretty-package-versions": "^1.2",
"nette/robot-loader": "^3.1",
2018-02-22 17:11:58 +01:00
"nette/utils": "^2.5",
2018-10-10 23:17:55 +08:00
"nikic/php-parser": "^4.1",
2018-09-08 11:23:42 +02:00
"phpstan/phpstan": "^0.10.3",
"sebastian/diff": "^3.0",
2018-09-15 20:50:52 +02:00
"symfony/console": "^3.4|^4.1",
"symfony/dependency-injection": "^3.4|^4.1",
"symfony/finder": "^3.4|^4.1",
2018-09-27 13:59:07 +08:00
"symfony/process": "^3.4|^4.1",
2018-10-13 00:59:58 +08:00
"symplify/better-phpdoc-parser": "^5.1",
"symplify/easy-coding-standard": "^5.1",
"symplify/package-builder": "^5.1",
2018-09-21 07:12:24 +02:00
"thecodingmachine/safe": "^0.1.4"
2017-07-15 19:01:21 +02:00
},
"require-dev": {
2018-09-08 11:23:42 +02:00
"humbug/php-scoper": "^0.9.2",
"phpunit/phpunit": "^7.3",
2018-10-13 00:59:58 +08:00
"symplify/changelog-linker": "^5.1",
"symplify/monorepo-builder": "^5.1",
"symplify/phpstan-extensions": "^5.1",
2018-09-21 07:12:24 +02:00
"thecodingmachine/phpstan-safe-rule": "^0.1.0",
2018-10-13 00:59:06 +08:00
"thecodingmachine/phpstan-strict-rules": "^0.10.4",
2018-08-20 21:14:50 +02:00
"tracy/tracy": "^2.5"
2017-07-15 19:01:21 +02:00
},
"autoload": {
"psr-4": {
2017-08-18 22:59:59 +02:00
"Rector\\": "src",
"Rector\\ContributorTools\\": "packages/ContributorTools/src",
2017-12-20 00:49:38 +01:00
"Rector\\ConsoleDiffer\\": "packages/ConsoleDiffer/src",
2017-09-05 23:51:16 +02:00
"Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
2018-06-02 12:44:43 +02:00
"Rector\\Symfony\\": "packages/Symfony/src",
2018-09-21 07:59:54 +02:00
"Rector\\CakePHP\\": "packages/CakePHP/src",
"Rector\\Php\\": "packages/Php/src",
"Rector\\Silverstripe\\": "packages/Silverstripe/src",
2018-06-02 13:06:44 +02:00
"Rector\\Sensio\\": "packages/Sensio/src",
2018-06-02 13:29:48 +02:00
"Rector\\Sylius\\": "packages/Sylius/src",
2018-06-02 13:39:01 +02:00
"Rector\\PHPUnit\\": "packages/PHPUnit/src",
"Rector\\Twig\\": "packages/Twig/src",
2018-06-02 13:45:20 +02:00
"Rector\\PhpParser\\": "packages/PhpParser/src",
2018-06-28 01:12:04 +02:00
"Rector\\Doctrine\\": "packages/Doctrine/src",
2018-08-06 13:48:28 +02:00
"Rector\\Utils\\": "packages/Utils/src",
"Rector\\YamlRector\\": "packages/YamlRector/src",
"Rector\\FileSystemRector\\": "packages/FileSystemRector/src"
}
2017-07-15 19:01:21 +02:00
},
"autoload-dev": {
"psr-4": {
"Rector\\Tests\\": "tests",
2017-09-05 23:51:16 +02:00
"Rector\\NodeTypeResolver\\Tests\\": "packages/NodeTypeResolver/tests",
2018-09-22 11:09:57 +02:00
"Rector\\CakePHP\\Tests\\": "packages/CakePHP/tests",
"Rector\\Php\\Tests\\": "packages/Php/tests",
2018-06-02 12:44:43 +02:00
"Rector\\Symfony\\Tests\\": "packages/Symfony/tests",
"Rector\\Silverstripe\\Tests\\": "packages/Silverstripe/tests",
2018-06-02 13:06:44 +02:00
"Rector\\Sensio\\Tests\\": "packages/Sensio/tests",
2018-06-02 13:29:48 +02:00
"Rector\\Sylius\\Tests\\": "packages/Sylius/tests",
2018-06-02 13:39:01 +02:00
"Rector\\PHPUnit\\Tests\\": "packages/PHPUnit/tests",
2018-06-02 13:45:20 +02:00
"Rector\\PhpParser\\Tests\\": "packages/PhpParser/tests",
2018-08-13 20:11:03 +02:00
"Rector\\Utils\\Tests\\": "packages/Utils/tests",
"Rector\\Twig\\Tests\\": "packages/Twig/tests",
2018-06-28 01:12:04 +02:00
"Rector\\Doctrine\\Tests\\": "packages/Doctrine/tests",
"Rector\\YamlRector\\Tests\\": "packages/YamlRector/tests",
"Rector\\FileSystemRector\\Tests\\": "packages/FileSystemRector/tests"
},
2018-05-30 14:59:09 +02:00
"classmap": [
"packages/CakePHP/tests",
"packages/Doctrine/tests",
"packages/FileSystemRector/tests",
"packages/NodeTypeResolver/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/Source",
"tests/Rector/Architecture/DependencyInjection/ActionInjectionToConstructorInjectionRector/Wrong",
"tests/Rector/Architecture/DependencyInjection/AnnotatedPropertyInjectToConstructorInjectionRector/Wrong",
"tests/Issues/Issue594/Wrong",
"tests/Rector/Assign/PropertyAssignToMethodCallRector/Wrong",
"tests/Rector/RectorOrder/Wrong",
"tests/Rector/DomainDrivenDesign/ValueObjectRemoverRector/Wrong",
"tests/Rector/DomainDrivenDesign/ValueObjectRemoverDocBlockRector/Wrong",
"tests/Rector/StaticCall/StaticCallToFunctionRector/Wrong",
"tests/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector/Wrong",
"tests/Rector/MethodCall/StaticMethodNameReplacerRector/Wrong",
"tests/Rector/MethodCall/MethodNameReplacerRector/Wrong",
"tests/Rector/MethodBody/ReturnThisRemoveRector/Wrong",
"tests/Rector/MethodBody/NormalToFluentRector/Wrong",
"tests/Rector/MethodBody/FluentReplaceRector/Wrong",
"tests/Rector/MagicDisclosure/GetAndSetToMethodCallRector/Wrong",
"tests/Rector/MagicDisclosure/UnsetAndIssetToMethodCallRector/Wrong",
"tests/Rector/MagicDisclosure/ToStringToMethodCallRector/Wrong",
"tests/Rector/Typehint/ReturnTypehintRector/Wrong",
"tests/Rector/Typehint/ParentTypehintedArgumentRector/Wrong",
"tests/Rector/Argument/ArgumentRemoverRector/Wrong",
"tests/Rector/Argument/ArgumentAdderRector/Wrong",
"tests/Rector/Argument/ArgumentDefaultValueReplacerRector/Wrong",
"tests/Rector/Namespace_/NamespaceReplacerRector/Wrong",
"tests/Rector/Namespace_/PseudoNamespaceToNamespaceRector/Wrong",
"tests/Rector/Namespace_/PseudoNamespaceToNamespaceRector/Source",
"tests/Rector/Function_/FunctionToStaticCallRector/Wrong",
"tests/Rector/Function_/FunctionReplaceRector/Wrong",
"tests/Rector/Function_/FunctionToMethodCallRector/Wrong",
"tests/Rector/Property/PropertyNameReplacerRector/Wrong",
"tests/Rector/Property/PropertyToMethodRector/Wrong",
"tests/Rector/Architecture/DependencyInjection/AnnotatedPropertyInjectToConstructorInjectionRector/Wrong",
"tests/Rector/Architecture/DependencyInjection/ActionInjectionToConstructorInjectionRector/Wrong",
"tests/Rector/Architecture/DoctrineRepositoryAsService/Wrong",
"tests/Rector/Interface_/MergeInterfacesRector/Wrong",
"tests/Rector/Visibility/ChangeMethodVisibilityRector/Wrong",
2018-10-13 00:42:12 +08:00
"tests/Rector/CodeQuality/CombinedAssignRector/Wrong",
"tests/Rector/Visibility/ChangePropertyVisibilityRector/Wrong",
"tests/Rector/Visibility/ChangeConstantVisibilityRector/Wrong",
"tests/Rector/Annotation/AnnotationReplacerRector/Wrong",
"tests/Rector/CodeQuality/UnnecessaryTernaryExpressionRector/Wrong",
"tests/Rector/CodeQuality/InArrayAndArrayKeysToArrayKeyExistsRector/Wrong",
"tests/Rector/Constant/ClassConstantReplacerRector/Wrong",
"tests/Rector/Constant/RenameClassConstantsUseToStringsRector/Wrong",
"tests/Rector/Class_/ParentClassToTraitsRector/Wrong",
"tests/Rector/Class_/ClassReplacerRector/Wrong",
"packages/PHPUnit/tests/Rector/DelegateExceptionArgumentsRector/Wrong",
"packages/PHPUnit/tests/Rector/ArrayToYieldDataProviderRector/Wrong",
"packages/PHPUnit/tests/Rector/ExceptionAnnotationRector/Wrong",
"packages/PHPUnit/tests/Rector/TryCatchToExpectExceptionRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertPropertyExistsRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertIssetToSpecificMethodRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertRegExpRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertComparisonToSpecificMethodRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertCompareToSpecificMethodRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertSameBoolNullToSpecificMethodRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertTrueFalseToSpecificMethodRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertTrueFalseInternalTypeToSpecificMethodRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertNotOperatorRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertInstanceOfComparisonRector/Wrong",
"packages/PHPUnit/tests/Rector/SpecificMethod/AssertFalseStrposToContainsRector/Wrong",
"packages/PHPUnit/tests/Rector/GetMockRector/Wrong",
"packages/Sylius/tests/Rector/Review/Wrong",
"packages/Silverstripe/tests/Rector/DefineConstantToStaticCallRector/Wrong",
"packages/Silverstripe/tests/Rector/ConstantToStaticCallRector/Wrong",
"packages/Symfony/tests/Rector/HttpKernel/GetRequestRector/Wrong",
"packages/Symfony/tests/Rector/Controller/RedirectToRouteRector/Wrong",
"packages/Symfony/tests/Rector/Controller/AddFlashRector/Wrong",
"packages/Symfony/tests/Rector/Controller/ActionSuffixRemoverRector/Wrong",
"packages/Symfony/tests/Rector/Validator/ConstraintUrlOptionRector/Wrong",
"packages/Symfony/tests/Rector/Console/ConsoleExceptionToErrorEventConstantRector/Wrong",
"packages/Symfony/tests/Rector/Yaml/SessionStrictTrueByDefaultYamlRector/Wrong",
"packages/Symfony/tests/Rector/Yaml/SpaceBetweenKeyAndValueYamlRector/Wrong",
"packages/Symfony/tests/Rector/Yaml/ParseFileRector/Wrong",
"packages/Symfony/tests/Rector/DependencyInjection/ContainerBuilderCompileEnvArgumentRector/Wrong",
"packages/Symfony/tests/Rector/VarDumper/VarDumperTestTraitMethodArgsRector/Wrong",
"packages/Symfony/tests/Rector/FrameworkBundle/ContainerGetToConstructorInjectionRector/Wrong",
"packages/Symfony/tests/Rector/FrameworkBundle/GetParameterToConstructorInjectionRector/Wrong",
"packages/Symfony/tests/Rector/FrameworkBundle/GetToConstructorInjectionRector/Wrong",
"packages/Symfony/tests/Rector/Form/OptionNameRector/Wrong",
"packages/Symfony/tests/Rector/Form/FormIsValidRector/Wrong",
"packages/Symfony/tests/Rector/Form/StringFormTypeToClassRector/Wrong",
"packages/Symfony/tests/Rector/Form/FormTypeGetParentRector/Wrong",
"packages/Symfony/tests/Rector/Process/ProcessBuilderGetProcessRector/Wrong",
"packages/Symfony/tests/Rector/Process/ProcessBuilderInstanceRector/Wrong",
"packages/Twig/tests/Rector/SimpleFunctionAndFilterRector/Wrong",
"packages/Doctrine/tests/Rector/AliasToClassRector/Wrong",
"packages/PhpParser/tests/Rector/RemoveNodeRector/Wrong",
"packages/PhpParser/tests/Rector/IdentifierRector/Wrong",
"packages/PhpParser/tests/Rector/ParamAndStaticVarNameRector/Wrong",
"packages/PhpParser/tests/Rector/UseWithAliasRector/Wrong",
"packages/PhpParser/tests/Rector/CatchAndClosureUseNameRector/Wrong",
"packages/PhpParser/tests/Rector/SetLineRector/Wrong",
"packages/CakePHP/tests/Rector/MethodCall/ModalToGetSetRector/Wrong",
"packages/Sensio/tests/Rector/FrameworkExtraBundle/TemplateAnnotationRector/Wrong",
2018-10-05 17:05:03 +08:00
"packages/Php/tests/Rector/Property/TypedPropertyRector/Wrong",
2018-10-05 17:13:04 +08:00
"packages/Php/tests/Rector/FunctionLike/ExceptionHandlerTypehintRector/Wrong",
2018-10-05 20:52:14 +08:00
"packages/Php/tests/Rector/FunctionLike/Php4ConstructorRector/Wrong",
2018-10-09 18:18:42 +08:00
"packages/Php/tests/Rector/Assign/AssignArrayToStringRector/Wrong",
2018-10-10 20:51:22 +08:00
"packages/Php/tests/Rector/FuncCall/CountOnNullRector/Wrong",
2018-10-05 20:52:14 +08:00
"tests/Rector/Psr4/MultipleClassFileToPsr4ClassesRector/Source"
2018-05-30 14:59:09 +02:00
]
2017-07-15 19:01:21 +02:00
},
"scripts": {
2017-12-30 15:41:49 -02:00
"complete-check": [
"@check-cs",
"phpunit",
"@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_trailing_spaces.sh"
2017-12-30 15:41:49 -02:00
],
"phpstan": "vendor/bin/phpstan analyse packages src tests --level max",
"update-docs": "bin/rector generate-rector-overview > docs/AllRectorsOverview.md",
2018-07-17 19:36:48 +02:00
"changelog": [
2018-07-17 19:36:55 +02:00
"vendor/bin/changelog-linker dump-merges --in-categories",
2018-07-17 19:36:48 +02:00
"vendor/bin/changelog-linker linkify"
],
2018-08-16 17:12:40 +02:00
"rector-prefixed": [
2018-08-16 16:51:23 +02:00
"bin/rector-prefixed/build-prefixed-rector.sh",
"bin/rector-prefixed/publish-to-github.sh"
2018-07-17 19:36:48 +02:00
]
2017-08-20 01:46:12 +02:00
},
"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"
},
2018-07-17 19:36:48 +02:00
"bin": ["bin/rector"],
2017-08-20 01:46:12 +02:00
"config": {
"sort-packages": true
2018-10-13 00:59:58 +08:00
}
2017-07-15 19:01:21 +02:00
}