{
    "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",
        "composer/xdebug-handler": "^1.3",
        "jean85/pretty-package-versions": "^1.2",
        "nette/robot-loader": "^3.1",
        "nette/utils": "^2.5",
        "nikic/php-parser": "^4.1",
        "phpstan/phpstan": "^0.10.5",
        "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.2.13",
        "symplify/package-builder": "^5.2.13",
        "thecodingmachine/safe": "^0.1.6"
    },
    "require-dev": {
        "phpunit/phpunit": "^7.4",
        "ocramius/package-versions": "^1.3",
        "symplify/easy-coding-standard": "^5.2.13",
        "symplify/monorepo-builder": "^5.2.13",
        "symplify/phpstan-extensions": "^5.2.13",
        "thecodingmachine/phpstan-safe-rule": "^0.1.0",
        "thecodingmachine/phpstan-strict-rules": "^0.10.7",
        "tracy/tracy": "^2.5"
    },
    "autoload": {
        "psr-4": {
            "Rector\\": "src",
            "Rector\\ContributorTools\\": "packages/ContributorTools/src",
            "Rector\\ConsoleDiffer\\": "packages/ConsoleDiffer/src",
            "Rector\\CodingStyle\\": "packages/CodingStyle/src",
            "Rector\\Guzzle\\": "packages/Guzzle/src",
            "Rector\\CodeQuality\\": "packages/CodeQuality/src",
            "Rector\\DomainDrivenDesign\\": "packages/DomainDrivenDesign/src",
            "Rector\\NodeTypeResolver\\": "packages/NodeTypeResolver/src",
            "Rector\\Symfony\\": "packages/Symfony/src",
            "Rector\\CakePHP\\": "packages/CakePHP/src",
            "Rector\\Php\\": "packages/Php/src",
            "Rector\\Jms\\": "packages/Jms/src",
            "Rector\\Silverstripe\\": "packages/Silverstripe/src",
            "Rector\\Sensio\\": "packages/Sensio/src",
            "Rector\\Sylius\\": "packages/Sylius/src",
            "Rector\\PHPStan\\": "packages/PHPStan/src",
            "Rector\\PHPUnit\\": "packages/PHPUnit/src",
            "Rector\\Twig\\": "packages/Twig/src",
            "Rector\\PhpParser\\": "packages/PhpParser/src",
            "Rector\\Doctrine\\": "packages/Doctrine/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\\CodeQuality\\Tests\\": "packages/CodeQuality/tests",
            "Rector\\CodingStyle\\Tests\\": "packages/CodingStyle/tests",
            "Rector\\DomainDrivenDesign\\Tests\\": "packages/DomainDrivenDesign/tests",
            "Rector\\Guzzle\\Tests\\": "packages/Guzzle/tests",
            "Rector\\Php\\Tests\\": "packages/Php/tests",
            "Rector\\Jms\\Tests\\": "packages/Jms/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\\PHPStan\\Tests\\": "packages/PHPStan/tests",
            "Rector\\PHPUnit\\Tests\\": "packages/PHPUnit/tests",
            "Rector\\PhpParser\\Tests\\": "packages/PhpParser/tests",
            "Rector\\Twig\\Tests\\": "packages/Twig/tests",
            "Rector\\Doctrine\\Tests\\": "packages/Doctrine/tests",
            "Rector\\FileSystemRector\\Tests\\": "packages/FileSystemRector/tests"
        },
        "classmap": [
            "examples",
            "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",
            "tests/Rector/Namespace_/PseudoNamespaceToNamespaceRector/Source"
        ]
    },
    "suggest": {
        "symplify/easy-coding-standard": "Required to enable '--with-style' option. Use in case you don't have PHP_CodeSniffer or PHP-CS-Fixer yet."
    },
    "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",
        "pre-autoload-dump": [
            "Rector\\Tests\\Composer\\AutoloadWrongCasesEventSubscriber::preAutoloadDump"
        ]
    },
    "scripts-descriptions": {
        "update-docs": "Regenerate descriptions of all Rectors to docs/AllRectorsOverview.md file"
    },
    "bin": ["bin/rector"],
    "config": {
        "sort-packages": true
    }
}
