rector/composer.json

152 lines
5.9 KiB
JSON
Raw Normal View History

2017-07-15 17:01:21 +00:00
{
"name": "rector/rector-src",
"description": "Instant upgrade and refactoring of your PHP code",
2021-03-20 19:32:54 +00:00
"bin": [
"bin/rector"
],
"license": "MIT",
"homepage": "https://getrector.org",
2017-07-15 17:01:21 +00:00
"require": {
"php": "^8.0",
"ext-dom": "*",
2020-12-24 22:01:30 +00:00
"ext-json": "*",
"composer/semver": "^3.2",
2021-05-12 15:49:36 +00:00
"composer/xdebug-handler": "^2.0",
"danielstjules/stringy": "^3.1",
"doctrine/inflector": "^2.0",
"ergebnis/json-printer": "^3.1",
2021-06-04 20:27:47 +00:00
"idiosyncratic/editorconfig": "^0.1.3",
"myclabs/php-enum": "^1.8",
"nette/utils": "^3.2",
"nikic/php-parser": "4.12.0",
2021-06-26 12:20:46 +00:00
"phpstan/phpdoc-parser": "^0.5.5",
"phpstan/phpstan": "0.12.94",
"phpstan/phpstan-phpunit": "^0.12.21",
2021-07-22 22:18:48 +00:00
"rector/extension-installer": "^0.11.0",
2021-06-26 12:20:46 +00:00
"rector/rector-cakephp": "^0.11.3",
"rector/rector-doctrine": "^0.11.15",
"rector/rector-laravel": "^0.11.5",
"rector/rector-nette": "^0.11.21",
"rector/rector-phpunit": "^0.11.7",
"rector/rector-symfony": "^0.11.16",
"rector/rector-phpoffice": "^0.11.2",
"sebastian/diff": "^4.0.4",
"ssch/typo3-rector": "^0.11.22",
"symfony/console": "5.3.x-dev",
"symfony/dependency-injection": "5.3.x-dev",
"symfony/finder": "^5.3",
"symfony/http-kernel": "^5.3",
"symfony/process": "^5.3",
"symfony/yaml": "^5.3",
"symplify/astral": "^9.4.24",
"symplify/autowire-array-parameter": "^9.4.24",
"symplify/composer-json-manipulator": "^9.4.24",
"symplify/console-color-diff": "^9.4.24",
"symplify/package-builder": "^9.4.24",
"symplify/rule-doc-generator-contracts": "^9.4.24",
"symplify/simple-php-doc-parser": "^9.4.24",
"symplify/skipper": "^9.4.24",
"symplify/smart-file-system": "^9.4.24",
"symplify/symfony-php-config": "^9.4.24",
"tracy/tracy": "^2.8",
2021-07-05 10:59:59 +00:00
"webmozart/assert": "^1.10"
2017-07-15 17:01:21 +00:00
},
"require-dev": {
"brianium/paratest": "^6.3",
"phpstan/extension-installer": "^1.1",
2021-06-04 20:27:47 +00:00
"phpstan/phpstan-nette": "^0.12.19",
"phpunit/phpunit": "^9.5",
"rector/phpstan-rules": "^0.3.3",
"rector/rector-generator": "^0.3",
"symplify/coding-standard": "^9.4.24",
"symplify/easy-ci": "^9.4.23",
2021-07-03 10:47:21 +00:00
"symplify/easy-coding-standard": "^9.4.7",
"symplify/easy-testing": "^9.4.24",
"symplify/phpstan-extensions": "^9.4.24",
"symplify/phpstan-rules": "^9.4.24",
"symplify/rule-doc-generator": "^9.4.24",
"timeweb/phpstan-enum": "^2.3"
2017-07-15 17:01:21 +00:00
},
"replace": {
"rector/rector": "self.version"
},
2017-07-15 17:01:21 +00:00
"autoload": {
"psr-4": {
2021-07-05 08:52:04 +00:00
"Rector\\": [
"packages",
"rules"
],
"Rector\\Core\\": "src",
"Rector\\Compiler\\": "utils/compiler/src"
},
"files": [
"src/functions/node_helper.php",
"src/constants.php"
]
2017-07-15 17:01:21 +00:00
},
"autoload-dev": {
2021-03-12 23:52:38 +00:00
"psr-4": {
2021-07-05 08:52:04 +00:00
"Rector\\Tests\\": [
"packages-tests",
"rules-tests"
],
2021-03-12 23:52:38 +00:00
"Rector\\Core\\Tests\\": "tests",
"Rector\\RuleDocGenerator\\": "utils/rule-doc-generator/src"
2021-03-12 23:52:38 +00:00
},
2020-10-11 10:40:45 +00:00
"classmap": [
"stubs",
"rules-tests/Autodiscovery/Rector/Class_/MoveServicesBySuffixToDirectoryRector/Expected",
"rules-tests/Autodiscovery/Rector/Interface_/MoveInterfacesToContractNamespaceDirectoryRector/Expected",
2021-03-14 13:22:25 +00:00
"rules-tests/CodingStyle/Rector/Namespace_/ImportFullyQualifiedNamesRector/Source",
"rules-tests/Renaming/Rector/Name/RenameClassRector/Source",
"rules-tests/Renaming/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector/Source",
"rules-tests/CodingStyle/Rector/Namespace_/ImportFullyQualifiedNamesRector/Source",
"rules-tests/Renaming/Rector/Name/RenameClassRector/Source"
2020-10-11 10:40:45 +00:00
],
"files": [
2021-03-22 01:55:01 +00:00
"stubs/Doctrine/Persistence/ObjectManager.php",
"stubs/Doctrine/Common/Persistence/ObjectManager.php",
"rules-tests/Transform/Rector/FuncCall/FuncCallToMethodCallRector/Source/some_view_function.php",
"rules-tests/TypeDeclaration/Rector/FunctionLike/ReturnTypeDeclarationRector/Source/MyBar.php",
"rules-tests/TypeDeclaration/Rector/Property/CompleteVarDocTypePropertyRector/Source/EventDispatcher.php",
"rules-tests/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector/Source/FunctionTyped.php"
2021-03-12 23:52:38 +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 build/rector_rules_overview.md --ansi --categorize",
"mv build/rector_rules_overview.md build/target-repository/docs/rector_rules_overview.md",
"vendor/bin/ecs check-markdown build/target-repository/docs/rector_rules_overview.md --ansi --fix"
2019-10-30 09:57:00 +00:00
],
"rector": "bin/rector process --ansi",
"preload": "php build/build-preload.php ."
2017-08-19 23:46:12 +00:00
},
2021-03-20 19:32:54 +00:00
"extra": {
"branch-alias": {
"dev-main": "0.11-dev"
2021-03-20 19:32:54 +00:00
}
},
2017-08-19 23:46:12 +00:00
"config": {
"sort-packages": true,
"platform-check": false
},
"minimum-stability": "dev",
"prefer-stable": true
2020-07-03 14:41:59 +00:00
}