-
Notifications
You must be signed in to change notification settings - Fork 16
/
composer.json
122 lines (122 loc) · 2.84 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "typo3/coding-standards",
"description": "A set of coding guidelines for any TYPO3-related project or extension",
"license": "MIT",
"type": "coding-standards",
"keywords": [
"typo3",
"cms",
"code style",
"editorconfig",
"php-cs-fixer"
],
"readme": "README.md",
"authors": [
{
"name": "Benni Mack",
"email": "[email protected]"
},
{
"name": "Simon Gilli",
"email": "[email protected]"
}
],
"homepage": "https://typo3.org/",
"support": {
"issues": "https://github.com/TYPO3/coding-standards/issues",
"chat": "https://typo3.org/help",
"source": "https://github.com/TYPO3/coding-standards",
"docs": "https://docs.typo3.org"
},
"require": {
"php": "^8.1",
"ext-json": "*",
"friendsofphp/php-cs-fixer": "^3.49",
"symfony/console": "^6.4 || ^7.0",
"symfony/filesystem": "^6.4 || ^7.0"
},
"require-dev": {
"composer/package-versions-deprecated": "^1.11.99.5",
"ergebnis/composer-normalize": "^2.28",
"keradus/cli-executor": "^1.5",
"maglnet/composer-require-checker": "^4.7.1",
"overtrue/phplint": "^9.0",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpstan/phpstan-symfony": "^2.0",
"phpunit/phpunit": "^10.1.3",
"symfony/finder": "^6.4 || ^7.0",
"symfony/process": "^6.4 || ^7.0"
},
"autoload": {
"psr-4": {
"TYPO3\\CodingStandards\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"TYPO3\\CodingStandards\\Tests\\": "tests"
}
},
"bin": [
"t3-cs",
"typo3-coding-standards"
],
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-main": "0.8.x-dev"
}
},
"scripts": {
"ci": [
"@ci:composer",
"@ci:php"
],
"ci:composer": [
"@ci:composer:validate",
"@ci:composer:normalize",
"@ci:composer:require-checker"
],
"ci:composer:normalize": "@composer normalize --dry-run",
"ci:composer:require-checker": "@php composer-require-checker",
"ci:composer:validate": "@composer validate",
"ci:php": [
"@ci:php:lint",
"@ci:php:cs",
"@ci:php:stan",
"@ci:php:unit"
],
"ci:php:cs": "@php php-cs-fixer fix -v --dry-run --using-cache no --diff",
"ci:php:lint": "@php phplint --no-progress",
"ci:php:stan": "@php phpstan analyse --no-progress",
"ci:php:unit": "phpunit",
"fix": [
"@fix:composer",
"@fix:php"
],
"fix:composer": [
"@fix:composer:normalize"
],
"fix:composer:normalize": "@composer normalize",
"fix:php": [
"@fix:php:rector",
"@fix:php:cs"
],
"fix:php:cs": "@php php-cs-fixer fix",
"fix:php:rector": [
"@composer require --dev rector/rector",
"@php rector process --clear-cache",
"@composer remove --dev rector/rector"
]
}
}