forked from sabbelasichon/typo3-rector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
108 lines (108 loc) · 3.78 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "ssch/typo3-rector",
"type": "rector-extension",
"description": "Instant fixes for your TYPO3 code by using Rector.",
"keywords": ["dev"],
"homepage": "https://packagist.org/packages/ssch/typo3-rector",
"support": {
"docs": "https://github.com/sabbelasichon/typo3-rector/tree/main/docs",
"issues": "https://github.com/sabbelasichon/typo3-rector/issues",
"source": "https://github.com/sabbelasichon/typo3-rector",
"chat": "https://typo3.slack.com/archives/C019R5LAA6A"
},
"license": "MIT",
"authors": [
{
"name": "Sebastian Schreiber",
"email": "breakpoint@schreibersebastian.de"
},
{
"name": "Henrik Elsner"
}
],
"require": {
"php": "^7.4 || ^8.0",
"ext-dom": "*",
"ext-libxml": "*",
"ext-simplexml": "*",
"helmich/typo3-typoscript-parser": "^2.4.1",
"nette/utils": "^3.0",
"nikic/php-parser": "^4.17",
"phpstan/phpstan": "^1.9.7",
"rector/rector": "0.17.0",
"symfony/console": "^4.0 || ^5.0 || ^6.0",
"symfony/polyfill-php80": "^1.26",
"symfony/polyfill-php81": "^1.26",
"symfony/string": "^5.0 || ^6.0",
"symplify/smart-file-system": "^9.3 || ^10.0 || ^11.0",
"webmozart/assert": "^1.0"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-phpunit": "^1.1",
"phpunit/phpunit": "^9.5",
"symfony/dependency-injection": "^5.0 || ^6.0",
"symfony/filesystem": "^5.0 || ^6.0",
"symfony/http-kernel": "^5.0 || ^6.0",
"symplify/easy-coding-standard": "^12.0"
},
"autoload": {
"psr-4": {
"Ssch\\TYPO3Rector\\": "src",
"Ssch\\TYPO3Rector\\PHPStan\\": "utils/phpstan/src"
}
},
"autoload-dev": {
"classmap": ["stubs"],
"psr-4": {
"Ssch\\TYPO3Rector\\Generator\\": "utils/generator/src",
"Ssch\\TYPO3Rector\\Tests\\": "tests",
"Ssch\\TYPO3Rector\\PHPStan\\Tests\\": "utils/phpstan/tests",
"Ssch\\TYPO3Rector\\Rules\\Tests\\": "utils/rules/tests",
"Ssch\\TYPO3Rector\\Rules\\": "utils/rules/src"
},
"exclude-from-classmap": [
"**.php.inc"
]
},
"config": {
"optimize-autoloader": true,
"update-with-dependencies": true,
"sort-packages": true,
"platform-check": false,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"scripts": {
"contribute": [
"@fix-rector",
"@fix-style",
"@analyze"
],
"check-style": "@php vendor/bin/ecs check --ansi",
"fix-style": "@php vendor/bin/ecs check --fix --ansi",
"analyze": "@php vendor/bin/phpstan analyse --memory-limit=-1 --ansi",
"phpstan-generate-baseline": "@php vendor/bin/phpstan analyse --generate-baseline --memory-limit=-1 --ansi",
"test": "@php vendor/bin/phpunit",
"docs": "@php vendor/bin/rule-doc-generator generate src --output-file docs/all_rectors_overview.md --ansi",
"rector": "@php vendor/bin/rector process --dry-run --ansi",
"fix-rector": "@php vendor/bin/rector process --ansi",
"check-typo3-rector": "@php vendor/bin/rector process src/Helper --config templates/rector.php --dry-run --ansi",
"lint-php": "@php vendor/bin/parallel-lint src config tests"
},
"extra": {
"rector": {
"includes": [
"config/config.php"
]
},
"branch-alias": {
"dev-main": "1.0-dev"
}
},
"conflict": {
"phpstan/phpstan": ">= 1.10.28"
}
}