-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
153 lines (153 loc) · 5.21 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "oliverklee/typo3-testing-distribution",
"description": "TYPO3 CMS distribution for testing extensions",
"license": "GPL-2.0-or-later",
"type": "project",
"authors": [
{
"name": "Oliver Klee",
"homepage": "https://www.oliverklee.de",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/oliverklee/TYPO3-testing-distribution/issues",
"source": "https://github.com/oliverklee/TYPO3-testing-distribution"
},
"require": {
"php": ">= 8.1.23",
"georgringer/autoswitchtolistview": "^3.0.0",
"helhum/typo3-console": "^8.1.0",
"oliverklee/feuserextrafields": "dev-main",
"oliverklee/oelib": "dev-main",
"oliverklee/onetimeaccount": "dev-main",
"oliverklee/site-dev": "@dev",
"ttn/tea": "dev-main",
"typo3/cms-adminpanel": "^12.4",
"typo3/cms-belog": "^12.4",
"typo3/cms-beuser": "^12.4",
"typo3/cms-core": "^12.4.7",
"typo3/cms-dashboard": "^12.4",
"typo3/cms-felogin": "^12.4",
"typo3/cms-filelist": "^12.4",
"typo3/cms-fluid-styled-content": "^12.4",
"typo3/cms-form": "^12.4",
"typo3/cms-indexed-search": "^12.4",
"typo3/cms-info": "^12.4",
"typo3/cms-lowlevel": "^12.4",
"typo3/cms-recycler": "^12.4",
"typo3/cms-redirects": "^12.4",
"typo3/cms-reports": "^12.4",
"typo3/cms-rte-ckeditor": "^12.4",
"typo3/cms-scheduler": "^12.4",
"typo3/cms-seo": "^12.4",
"typo3/cms-setup": "^12.4",
"typo3/cms-tstemplate": "^12.4",
"typo3/cms-viewpage": "^12.4",
"typo3/minimal": "^12.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.45.0",
"friendsofphp/php-cs-fixer": "^3.65.0",
"helmich/typo3-typoscript-lint": "^3.2.1",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^1.12.7",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.1",
"phpunit/phpunit": "^10.5.27",
"saschaegerer/phpstan-typo3": "^1.10.2",
"seld/jsonlint": "^1.11.0",
"ssch/typo3-rector": "^2.12.0",
"ssch/typo3-rector-testing-framework": "^2.0.1",
"symfony/yaml": "^6.4.13",
"typo3/coding-standards": "^0.8.0",
"typo3/testing-framework": "^8.2.3"
},
"conflict": {
"phpstan/phpdoc-parser": "< 1.0 || >= 2.0"
},
"repositories": [
{
"type": "path",
"url": "src/extensions/*"
}
],
"prefer-stable": true,
"autoload-dev": {
"psr-4": {
"OliverKlee\\SiteDev\\Tests\\": "src/extensions/site-dev/Tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"lock": false,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"scripts": {
"post-autoload-dump": [
"@typo3-cms-scripts"
],
"ci": [
"@ci:static"
],
"ci:composer:normalize": [
"@composer normalize --dry-run --no-check-lock",
"@composer normalize --dry-run --no-check-lock src/extensions/site-dev/composer.json"
],
"ci:json:lint": "find . -path '*/public/*' ! -path '*/var/*' ! -path '*/vendor/*' -name '*.json' | xargs -r php vendor/bin/jsonlint -q",
"ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --using-cache no --diff",
"ci:php:lint": "find *.php .*.php config src/extensions/site-dev -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"ci:php:stan": "phpstan --no-progress",
"ci:static": [
"@ci:composer:normalize",
"@ci:json:lint",
"@ci:php:lint",
"@ci:php:stan",
"@ci:php:cs-fixer",
"@ci:typoscript:lint",
"@ci:yaml:lint"
],
"ci:tests:functional": "phpunit -c config/FunctionalTests.xml",
"ci:tests:unit": "phpunit -c config/UnitTests.xml",
"ci:typoscript:lint": "typoscript-lint -c config/TypoScriptLint.yaml --ansi -n --fail-on-warnings -vvv src/extensions/site-dev/Configuration/TsConfig src/extensions/site-dev/Configuration/TypoScript",
"ci:yaml:lint": "find .ddev .github config src/extensions/site-dev -name '*.yml' -o -name '*.yaml' | xargs php ./vendor/bin/yaml-lint",
"fix": [
"@fix:composer",
"@fix:php:cs"
],
"fix:composer": [
"@composer normalize --no-check-lock",
"@composer normalize --no-check-lock src/extensions/site-dev/composer.json"
],
"fix:php:cs": "php-cs-fixer fix --config .php-cs-fixer.php",
"phpstan:baseline": "phpstan --generate-baseline=phpstan-baseline.neon --allow-empty-baseline",
"typo3-cms-scripts": [
"typo3 install:fixfolderstructure"
]
},
"scripts-descriptions": {
"ci": "Runs all code checks.",
"ci:composer:normalize": "Checks the formatting and structure of the composer.json.",
"ci:json:lint": "Lints the JSON files.",
"ci:php:cs-fixer": "Checks the code style with the PHP Coding Standards Fixer (PHP-CS-Fixer).",
"ci:php:lint": "Lints the PHP files for syntax errors.",
"ci:php:stan": "Checks the PHP types using PHPStan.",
"ci:static": "Runs all static code checks (syntax, style, types).",
"ci:tests:functional": "Runs the functional tests.",
"ci:tests:unit": "Runs the unit tests.",
"ci:typoscript:lint": "Lints the TypoScript files.",
"ci:yaml:lint": "Lints the YAML files for syntax errors.",
"fix": "Reformats the code.",
"fix:composer": "Reformats and sorts the composer.json files.",
"fix:php:cs": "Fixes the code style with PHP-CS-Fixer.",
"phpstan:baseline": "Updates the PHPStan baseline file to match the code."
}
}