rector/composer.json

295 lines
16 KiB
JSON
Raw Normal View History

2017-07-15 17:01:21 +00:00
{
"name": "rector/rector",
"description": "Instant upgrade and refactoring of your PHP code",
"keywords": [
"instant upgrades",
"instant refactoring",
"ast",
"automated refactoring"
],
2019-05-25 17:36:12 +00:00
"homepage": "https://getrector.org",
2017-07-15 17:01:21 +00:00
"license": "MIT",
2019-05-25 17:36:12 +00: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"
2019-05-25 17:36:12 +00:00
],
2017-07-15 17:01:21 +00:00
"require": {
"php": "^7.3|^8.0",
"ext-dom": "*",
2020-12-24 22:01:30 +00:00
"ext-json": "*",
"composer/semver": "^3.2",
"composer/xdebug-handler": "^1.4",
"doctrine/annotations": "^1.12",
"doctrine/inflector": "^2.0",
2021-01-29 16:14:06 +00:00
"jean85/pretty-package-versions": "^1.5.1|^2.0.1",
"nette/robot-loader": "^3.2 <=3.3.1",
"nette/utils": "^3.2",
"nikic/php-parser": "^4.10.4",
"phpstan/phpdoc-parser": "^0.4.12",
2021-03-09 00:04:39 +00:00
"phpstan/phpstan": "^0.12.81",
"phpstan/phpstan-phpunit": "^0.12.18",
2020-04-01 01:55:44 +00:00
"psr/simple-cache": "^1.0",
"sebastian/diff": "^4.0.4",
"symfony/cache": "^4.4.8|^5.1",
"symfony/console": "^4.4.8|^5.1",
"symfony/dependency-injection": "^5.1",
"symfony/expression-language": "^4.4.8|^5.1",
"symfony/finder": "^4.4.8|^5.1",
2020-10-11 10:40:45 +00:00
"symfony/http-kernel": "^4.4.8|^5.1",
"symfony/process": "^4.4.8|^5.1",
"symfony/uid": "^4.4.8|^5.1",
"symplify/astral": "^9.2.4",
"symplify/autowire-array-parameter": "^9.2.4",
"symplify/console-color-diff": "^9.2.4",
"symplify/package-builder": "^9.2.4",
"symplify/rule-doc-generator": "^9.2.4",
"symplify/set-config-resolver": "^9.2.4",
"symplify/simple-php-doc-parser": "^9.2.4",
"symplify/skipper": "^9.2.4",
"symplify/smart-file-system": "^9.2.4",
"symplify/symfony-php-config": "^9.2.4",
"webmozart/assert": "^1.10"
2017-07-15 17:01:21 +00:00
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18.3",
[CI] add demo for build php 7.1 version (#4447) * Renamed option to --exclude-path * Exclude /**/tests/ by default * Inverted order of downgrade * Fixed verb * Use sed to replace string * Simplified message * Use PHP version with "." * Completed PHP versions to downgrade * Execute Rector with --target-php-version * Added quotes to array keys * Allow to print command to output * Execute script within workflow * If rector fails, already exit 1 * Ignore PHP constraint * Removed --dry-run and errors for testing * Don't print command * Run downgraded for ALL sets * Include downgrade sets for testing * Run all sets in a command each * Added the target PHP version in each downgrade set * Use a rector config file to pass exclude paths * Exclude everything under /tests/ * Removed --dry-run * Set unneeded transformations in false * Exclude /ci/ * Exclude /compiler/ * Exclude DoctrineProvider * Exclude classes for dependency-injection * Exclude classes for http-kernel * Exclude classes for symfony string * Use cut instead of aws For if the path has a space * Calculate package execution order * Downgrade packages on required order * Consider the set to check package dependents * Store packages_to_downgrade_by_set * Store package_dependents["$package|$set"] * Fixed converting from string to array * Fixed converting string to array * Fixed char * Simplified counter * Fixed string to array * Fixed var * Fixed getting dependents * Fixed checking if dependent packages downgraded * rector/rector has no dependents * Simplified downgraded_packages * Ignore dependent package on itself * If circular dependencies, make the process fail * Uncommented executing rector * Exclude /stubs * Calculate circular reference packages * Break circular references * Uncommented rector call * Do downgrade ContainerBuilder * Added expression-language as dep for PROD * [ci-review] Generate Rector & Nodes documentation * [ci-review] Apply coding standards * [ci-review] Rector Rectify * Obtain "rector/rector" from composer * Removed commented code * Don't do platform check for Composer v2 * Moved comment up * [ci-review] Rector Rectify * [ci-review] Rector Rectify * Must dump autload to remove platform_check.php * [ci-review] Rector Rectify * [ci-review] Rector Rectify * Copied file from master * Use new convention (70000) for PHP versions (7.0) * Fixed cs * Fixed PHPStan * Added "create-config" command - Initial commit * [ci-review] Rector Rectify * Moved rector config under custom folder * Use predefined rector configs instead of injecting --set * Created rector config files * Use array of rector configs, even if only 1 is used * Require once config file * Fixed exclude paths * Execute only last rector config (containing many sets) * Exclude file that makes process fail * Removed --dry-run * Use existing option name * Handle GROUP_RECTOR_CONFIGS in circular packages * Changing PHP_VERSION_ID does not work, so commented rule * Bug fixed => uncommented using rector * Renamed NoParticularNodeRule to ForbiddenNodeRule * [ci-review] Rector Rectify * Fixed PHP version constants * Added (failing) test * Fixed issue for nullable scalars * Can't run Rector with --set through CLI, removed * Added (failing) test * Fixed issue for __construct * Fixed constant name * Added (failing) test for self * Added another (failing) test * Fixed not adding "\" before "static", "self", etc * [ci-review] Rector Rectify * Skip downgrading CouchbaseBucketAdapter * Renamed var * Added (failing) test * Fixed interface and abstract class issue * [ci-review] Rector Rectify * Fixed PHPStan error * Create artifact of downgraded code * Added missing spaces for args * Use 4 spaces for consistency * Ignore build folder in rector-php71.zip * Switch to setup-php@v2 * Added (failing) test * Issue is on calling method, not on constructor * Implemented fix * Renamed test * Added further tests * [ci-review] Rector Rectify * Fixed PHPStan * Fixed PHPStan * Added (failing) test * Fixed issue on new Class('foo', ) * Execute tests * No need for quotes * Made the artifact contain the folder, not a .zip * Removed /compiler folder (it's been deleted?) * Do upload the artifact as a .zip (too slow otherwise) * Remove all tests, also from under vendor/ * Upgraded zip action version * Change Composer's PHP requirement to 7.1 * Try exclude tests under vendor/ * Renamed artifact * Try exclude tests under vendor/ * Updated test (to fail) * If the float has no ".", add ".0" at the end * Must remove deps before "composer require php" * Replaced call to phpstan * Cannot run PHPStan on 7.1, just run Rector * Change Composer's PHP requirement to 7.1 * Remove DEV dependencies * Require Symfony Polyfill libraries * Rector without DEV needs phpstan.neon removed * Run PHPStan * Added paths to analyze * Access PHPStan config from file * Fixed relative paths * Override the artifact with downgraded Composer too * Uncommented scanDirectories * Include tests/ in artifact * Exclude */tests/* * Ignore utils/phpstan-extensions * PHPUnit is installed in DEV, can't use it in PROD * "nette/application" is on DEV, may not exist on PROD * [ci-review] Rector Rectify * [ci-review] Rector Rectify * Improved comment after rectify * Fixed previous messed-up merge * Removed 1st slash * Downgrade all dependencies together * Replace the composer.json file * Can't have more than 1 path to downgrade * No need to change PHP requirement to 7.1 anymore * Remove DEV dependencies before replacing composer.json * Changed order of commands * No need for --ignore-platform-req=php * Add all Symfony polyfill libraries * Require Symfony polyfill libraries earlier on * Test removing `ignoreErrors` from PHPStan * Remove ignored errors which do not apply * Fixed the list of `excludes_analyse` * Removed commented code * Fixed PHPStan config * Only analyze the target PHP version if GROUP_RECTOR_CONFIGS * Simplified script: just analyze target PHP version * Renamed downgrade sets * Removed unneeded create-config command * Removed call to deleted class * Dropped ChangePhpVersionInPlatformCheckRector * Must remove phpstan-for-rector.neon from PROD * Do not execute --dry-run, it returns error * Publish downgraded code to remote repository * Removed commented code * Standardized script code * Initialize variables in script * No need to initialize vars * Remove the zip, do not copy to target repo * Remove .git before deploying to target repo * Copy files to rector-downgrade/ * Use branch "main" * Copy also hidden files * Remove docker publish image workflow * Trigger own tests workflow * Include "lowest" * Run PHPStan instead of PHPUnit * Run PHPStan in new temp directory * Execute in same item * "../" for --config doesn't work for PHPStan * Added bare run test * Added tests for PHP 7.2 * Added test * Run with php * Replaced namespace * Added PHPUnit test for PHP 7.1 * Use PHP 7.1-compatible version of "doctrine/orm" * Can't skip downgrading doctrine-annotation-generated * Removed commented items * Renamed test workflow * Added comments on code * Run all tests, not just 1 * Downgrade package from v3.1 to v3.0.7 * Run existing tests * Revert tests * [ci-review] Rector Rectify Co-authored-by: Leonardo Losoviz <leo@getpop.org> Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-25 19:25:21 +00:00
"nette/application": "^3.0.7",
"nette/di": "^3.0",
"nette/forms": "^3.0",
2020-09-10 22:05:34 +00:00
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan-nette": "^0.12.16",
"phpunit/phpunit": "^9.5",
"rector/rector-generator": "^0.1.1",
"symfony/security-core": "^5.2",
"symfony/security-http": "^5.2",
"symplify/coding-standard": "^9.2.4",
"symplify/easy-ci": "^9.2.4",
"symplify/easy-coding-standard": "^9.2.4",
"symplify/easy-testing": "^9.2.4",
"symplify/phpstan-extensions": "^9.2.4",
"symplify/phpstan-rules": "^9.2.4",
2021-01-30 23:20:05 +00:00
"tracy/tracy": "^2.8"
2017-07-15 17:01:21 +00:00
},
"replace": {
"rector/rector-prefixed": "self.version"
},
2017-07-15 17:01:21 +00:00
"autoload": {
"psr-4": {
"Rector\\": "packages",
"Rector\\Core\\": "src",
2020-02-27 13:34:33 +00:00
"Rector\\Autodiscovery\\": "rules/autodiscovery/src",
"Rector\\CakePHP\\": "rules/cakephp/src",
"Rector\\CodeQuality\\": "rules/code-quality/src",
"Rector\\CodingStyle\\": "rules/coding-style/src",
"Rector\\Composer\\": "rules/composer/src",
"Rector\\DeadCode\\": "rules/dead-code/src",
"Rector\\DependencyInjection\\": "rules/dependency-injection/src",
"Rector\\EarlyReturn\\": "rules/early-return/src",
"Rector\\DeadDocBlock\\": "rules/dead-doc-block/src",
"Rector\\DoctrineCodeQuality\\": "rules/doctrine-code-quality/src",
2020-02-27 13:34:33 +00:00
"Rector\\DoctrineGedmoToKnplabs\\": "rules/doctrine-gedmo-to-knplabs/src",
"Rector\\Doctrine\\": "rules/doctrine/src",
"Rector\\DowngradePhp70\\": "rules/downgrade-php70/src",
2020-10-11 10:40:45 +00:00
"Rector\\DowngradePhp71\\": "rules/downgrade-php71/src",
"Rector\\DowngradePhp72\\": "rules/downgrade-php72/src",
"Rector\\DowngradePhp73\\": "rules/downgrade-php73/src",
"Rector\\DowngradePhp74\\": "rules/downgrade-php74/src",
"Rector\\DowngradePhp80\\": "rules/downgrade-php80/src",
"Rector\\Arguments\\": "rules/arguments/src",
"Rector\\Laravel\\": "rules/laravel/src",
2020-03-28 23:39:16 +00:00
"Rector\\Legacy\\": "rules/legacy/src",
2020-10-11 10:40:45 +00:00
"Rector\\MockeryToProphecy\\": "rules/mockery-to-prophecy/src",
"Rector\\MysqlToMysqli\\": "rules/mysql-to-mysqli/src",
2020-10-11 10:40:45 +00:00
"Rector\\Naming\\": "rules/naming/src",
"Rector\\NetteCodeQuality\\": "rules/nette-code-quality/src",
"Rector\\NetteKdyby\\": "rules/nette-kdyby/src",
"Rector\\NetteTesterToPHPUnit\\": "rules/nette-tester-to-phpunit/src",
"Rector\\NetteToSymfony\\": "rules/nette-to-symfony/src",
2020-10-11 10:40:45 +00:00
"Rector\\NetteUtilsCodeQuality\\": "rules/nette-utils-code-quality/src",
2020-02-14 09:49:16 +00:00
"Rector\\Nette\\": "rules/nette/src",
"Rector\\Defluent\\": "rules/defluent/src",
2020-10-11 10:40:45 +00:00
"Rector\\Order\\": "rules/order/src",
"Rector\\PHPOffice\\": "rules/php-office/src",
"Rector\\PHPUnitSymfony\\": "rules/phpunit-symfony/src",
"Rector\\PHPUnit\\": "rules/phpunit/src",
"Rector\\PSR4\\": "rules/psr4/src",
"Rector\\Php52\\": "rules/php52/src",
"Rector\\Php53\\": "rules/php53/src",
"Rector\\Php54\\": "rules/php54/src",
"Rector\\Php55\\": "rules/php55/src",
"Rector\\Php56\\": "rules/php56/src",
"Rector\\Php70\\": "rules/php70/src",
"Rector\\Php71\\": "rules/php71/src",
"Rector\\Php72\\": "rules/php72/src",
"Rector\\Php73\\": "rules/php73/src",
"Rector\\Php74\\": "rules/php74/src",
"Rector\\Php80\\": "rules/php80/src",
2020-02-27 13:34:33 +00:00
"Rector\\PhpSpecToPHPUnit\\": "rules/php-spec-to-phpunit/src",
"Rector\\Compiler\\": "utils/compiler/src",
"Rector\\Visibility\\": "rules/visibility/src",
"Rector\\Removing\\": "rules/removing/src",
2020-03-28 23:06:05 +00:00
"Rector\\Privatization\\": "rules/privatization/src",
"Rector\\RemovingStatic\\": "rules/removing-static/src",
"Rector\\Renaming\\": "rules/renaming/src",
"Rector\\Restoration\\": "rules/restoration/src",
"Rector\\Sensio\\": "rules/sensio/src",
"Rector\\CodeQualityStrict\\": "rules/code-quality-strict/src",
"Rector\\SymfonyCodeQuality\\": "rules/symfony-code-quality/src",
"Rector\\SymfonyPhpConfig\\": "rules/symfony-php-config/src",
"Rector\\Symfony\\": "rules/symfony/src",
"Rector\\Symfony2\\": "rules/symfony2/src",
"Rector\\Symfony3\\": "rules/symfony3/src",
"Rector\\Symfony4\\": "rules/symfony4/src",
"Rector\\Symfony5\\": "rules/symfony5/src",
2020-10-11 10:40:45 +00:00
"Rector\\Transform\\": "rules/transform/src",
"Rector\\TypeDeclaration\\": "rules/type-declaration/src",
"Rector\\Carbon\\": "rules/carbon/src",
"Rector\\Generics\\": "rules/generics/src"
2020-10-11 10:40:45 +00:00
}
2017-07-15 17:01:21 +00:00
},
"autoload-dev": {
2020-10-11 10:40:45 +00:00
"classmap": [
"rules/autodiscovery/tests/Rector/FileNode/MoveInterfacesToContractNamespaceDirectoryRector/Expected",
"rules/autodiscovery/tests/Rector/FileNode/MoveServicesBySuffixToDirectoryRector/Expected",
2020-10-11 10:40:45 +00:00
"rules/cakephp/tests/Rector/FileWithoutNamespace/ImplicitShortClassNameUseStatementRector/Source",
"rules/cakephp/tests/Rector/Namespace_/AppUsesStaticCallToUseStatementRector/Source",
"rules/renaming/tests/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/Source",
2020-12-24 22:01:30 +00:00
"rules/symfony4/tests/Rector/MethodCall/ContainerGetToConstructorInjectionRector/Source"
2020-10-11 10:40:45 +00:00
],
"files": [
"vendor/nette/forms/src/Forms/Controls/SubmitButton.php",
"rules/restoration/tests/Rector/Use_/RestoreFullyQualifiedNameRector/Source/ShortClassOnly.php",
2020-10-11 10:40:45 +00:00
"rules/coding-style/tests/Rector/Namespace_/ImportFullyQualifiedNamesRector/Source/AnotherClass.php",
"rules/coding-style/tests/Rector/Namespace_/ImportFullyQualifiedNamesRector/Source/Foo.php",
"rules/coding-style/tests/Rector/Namespace_/ImportFullyQualifiedNamesRector/Source/Function_/count.php",
"rules/coding-style/tests/Rector/Namespace_/ImportFullyQualifiedNamesRector/Source/YetAnotherClass.php",
"rules/dead-code/tests/Rector/MethodCall/RemoveDefaultArgumentValueRector/Source/UserDefined.php",
"rules/renaming/tests/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/Source/ChangeMeAnotherNamespace.php",
"rules/renaming/tests/Rector/Name/RenameClassRector/Source/SkipClassImportingSameName.php",
"rules/renaming/tests/Rector/Name/RenameClassRector/Source/SkipSameNamedInterface.php",
2020-10-11 10:40:45 +00:00
"rules/renaming/tests/Rector/Name/RenameClassRector/Source/Manual_Twig_Filter.php",
"rules/renaming/tests/Rector/Name/RenameClassRector/Source/TwigFilter.php",
"rules/renaming/tests/Rector/Name/RenameClassRector/Source/Twig_Extension_Sandbox.php",
"rules/transform/tests/Rector/FuncCall/FuncCallToMethodCallRector/Source/some_view_function.php",
"rules/type-declaration/tests/Rector/FunctionLike/ReturnTypeDeclarationRector/Source/MyBar.php",
"rules/type-declaration/tests/Rector/Property/CompleteVarDocTypePropertyRector/Source/EventDispatcher.php",
"vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php",
"tests/debug_functions.php"
2020-10-11 10:40:45 +00:00
],
2017-07-15 17:01:21 +00:00
"psr-4": {
"Rector\\Tests\\": "packages-tests",
2020-02-27 13:34:33 +00:00
"Rector\\Autodiscovery\\Tests\\": "rules/autodiscovery/tests",
"Rector\\CakePHP\\Tests\\": "rules/cakephp/tests",
"Rector\\CodeQuality\\Tests\\": "rules/code-quality/tests",
"Rector\\CodingStyle\\Tests\\": "rules/coding-style/tests",
"Rector\\Composer\\Tests\\": "rules/composer/tests",
2020-03-28 23:06:05 +00:00
"Rector\\Core\\Tests\\": "tests",
"Rector\\EarlyReturn\\Tests\\": "rules/early-return/tests",
"Rector\\DeadCode\\Tests\\": "rules/dead-code/tests",
"Rector\\DependencyInjection\\Tests\\": "rules/dependency-injection/tests",
"Rector\\DoctrineCodeQuality\\Tests\\": "rules/doctrine-code-quality/tests",
2020-02-27 13:34:33 +00:00
"Rector\\DoctrineGedmoToKnplabs\\Tests\\": "rules/doctrine-gedmo-to-knplabs/tests",
"Rector\\Doctrine\\Tests\\": "rules/doctrine/tests",
"Rector\\DowngradePhp70\\Tests\\": "rules/downgrade-php70/tests",
"Rector\\Removing\\Tests\\": "rules/removing/tests",
2020-10-11 10:40:45 +00:00
"Rector\\DowngradePhp71\\Tests\\": "rules/downgrade-php71/tests",
"Rector\\DowngradePhp72\\Tests\\": "rules/downgrade-php72/tests",
"Rector\\DowngradePhp73\\Tests\\": "rules/downgrade-php73/tests",
"Rector\\DowngradePhp74\\Tests\\": "rules/downgrade-php74/tests",
"Rector\\DowngradePhp80\\Tests\\": "rules/downgrade-php80/tests",
"Rector\\Arguments\\Tests\\": "rules/arguments/tests",
"Rector\\Laravel\\Tests\\": "rules/laravel/tests",
2020-03-28 23:39:16 +00:00
"Rector\\Legacy\\Tests\\": "rules/legacy/tests",
"Rector\\Defluent\\Tests\\": "rules/defluent/tests",
2020-10-11 10:40:45 +00:00
"Rector\\MockeryToProphecy\\Tests\\": "rules/mockery-to-prophecy/tests",
"Rector\\MysqlToMysqli\\Tests\\": "rules/mysql-to-mysqli/tests",
2020-10-11 10:40:45 +00:00
"Rector\\Naming\\Tests\\": "rules/naming/tests",
"Rector\\DeadDocBlock\\Tests\\": "rules/dead-doc-block/tests",
2020-10-11 10:40:45 +00:00
"Rector\\NetteCodeQuality\\Tests\\": "rules/nette-code-quality/tests",
"Rector\\NetteKdyby\\Tests\\": "rules/nette-kdyby/tests",
"Rector\\NetteTesterToPHPUnit\\Tests\\": "rules/nette-tester-to-phpunit/tests",
"Rector\\NetteToSymfony\\Tests\\": "rules/nette-to-symfony/tests",
2020-10-11 10:40:45 +00:00
"Rector\\NetteUtilsCodeQuality\\Tests\\": "rules/nette-utils-code-quality/tests",
2020-02-14 09:49:16 +00:00
"Rector\\Nette\\Tests\\": "rules/nette/tests",
2020-10-11 10:40:45 +00:00
"Rector\\Order\\Tests\\": "rules/order/tests",
"Rector\\PHPOffice\\Tests\\": "rules/php-office/tests",
"Rector\\Visibility\\Tests\\": "rules/visibility/tests",
2020-02-13 22:02:57 +00:00
"Rector\\PHPStanExtensions\\": "utils/phpstan-extensions/src",
"Rector\\RuleDocGenerator\\": "utils/rule-doc-generator/src",
2020-02-13 22:30:56 +00:00
"Rector\\PHPStanExtensions\\Tests\\": "utils/phpstan-extensions/tests",
"Rector\\PHPUnitSymfony\\Tests\\": "rules/phpunit-symfony/tests",
"Rector\\PHPUnit\\Tests\\": "rules/phpunit/tests",
"Rector\\PSR4\\Tests\\": "rules/psr4/tests",
"Rector\\Php52\\Tests\\": "rules/php52/tests",
"Rector\\Php53\\Tests\\": "rules/php53/tests",
"Rector\\Php54\\Tests\\": "rules/php54/tests",
"Rector\\Php55\\Tests\\": "rules/php55/tests",
"Rector\\Php56\\Tests\\": "rules/php56/tests",
"Rector\\Php70\\Tests\\": "rules/php70/tests",
"Rector\\Php71\\Tests\\": "rules/php71/tests",
"Rector\\Php72\\Tests\\": "rules/php72/tests",
"Rector\\Php73\\Tests\\": "rules/php73/tests",
"Rector\\Php74\\Tests\\": "rules/php74/tests",
"Rector\\Php80\\Tests\\": "rules/php80/tests",
2020-02-27 13:34:33 +00:00
"Rector\\PhpSpecToPHPUnit\\Tests\\": "rules/php-spec-to-phpunit/tests",
2020-03-28 23:06:05 +00:00
"Rector\\Privatization\\Tests\\": "rules/privatization/tests",
"Rector\\RemovingStatic\\Tests\\": "rules/removing-static/tests",
"Rector\\Renaming\\Tests\\": "rules/renaming/tests",
"Rector\\Restoration\\Tests\\": "rules/restoration/tests",
"Rector\\Sensio\\Tests\\": "rules/sensio/tests",
"Rector\\CodeQualityStrict\\Tests\\": "rules/code-quality-strict/tests",
"Rector\\SymfonyCodeQuality\\Tests\\": "rules/symfony-code-quality/tests",
"Rector\\SymfonyPhpConfig\\Tests\\": "rules/symfony-php-config/tests",
"Rector\\Symfony\\Tests\\": "rules/symfony/tests",
"Rector\\Symfony2\\Tests\\": "rules/symfony2/tests",
"Rector\\Symfony3\\Tests\\": "rules/symfony3/tests",
"Rector\\Symfony4\\Tests\\": "rules/symfony4/tests",
"Rector\\Symfony5\\Tests\\": "rules/symfony5/tests",
"Rector\\Transform\\Tests\\": "rules/transform/tests",
"Rector\\TypeDeclaration\\Tests\\": "rules/type-declaration/tests",
2020-04-03 13:28:29 +00:00
"Rector\\Utils\\DoctrineAnnotationParserSyncer\\": "utils/doctrine-annotation-parser-syncer/src",
"Rector\\Utils\\ProjectValidator\\": "utils/project-validator/src",
"Rector\\Carbon\\Tests\\": "rules/carbon/tests",
"Rector\\Generics\\Tests\\": "rules/generics/tests"
2020-10-11 10:40:45 +00:00
}
2017-07-15 17:01:21 +00:00
},
"scripts": {
"complete-check": [
"@check-cs",
"@phpstan",
2020-03-28 23:32:14 +00:00
"@docs",
"phpunit"
],
"check-cs": [
"vendor/bin/ecs check --ansi",
"vendor/bin/ecs check-markdown README.md --ansi"
],
"fix-cs": [
"vendor/bin/ecs check --fix --ansi",
"vendor/bin/ecs check-markdown README.md --fix --ansi"
],
"phpstan": "vendor/bin/phpstan analyse --ansi --error-format symplify",
"phpstan-config": "vendor/bin/phpstan analyse config --ansi --error-format symplify",
2019-02-22 23:49:04 +00:00
"docs": [
"vendor/bin/rule-doc-generator generate packages rules --output-file docs/rector_rules_overview.md --ansi --categorize",
"vendor/bin/ecs check-markdown docs/rector_rules_overview.md docs/nodes_overview.md --ansi --fix"
2019-10-30 09:57:00 +00:00
],
"rector": "bin/rector process --ansi"
2017-08-19 23:46:12 +00:00
},
"config": {
2020-12-24 22:01:30 +00:00
"sort-packages": true
2021-03-01 01:28:35 +00:00
},
"minimum-stability": "dev",
"prefer-stable": true
2020-07-03 14:41:59 +00:00
}