forked from oliverklee/ext-seminars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
242 lines (242 loc) · 8.83 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
{
"name": "oliverklee/seminars",
"description": "TYPO3 extension that allows you to create and manage a list of seminars, workshops, lectures, theater performances and other events, allowing front-end users to sign up. FE users also can create and edit events.",
"license": "GPL-2.0-or-later",
"type": "typo3-cms-extension",
"keywords": [
"seminars",
"workshops",
"event",
"registration",
"education",
"talks"
],
"authors": [
{
"name": "Oliver Klee",
"email": "[email protected]",
"homepage": "https://www.oliverklee.de",
"role": "developer"
}
],
"homepage": "https://www.oliverklee.de/typo3-services/seminarmanager/",
"support": {
"issues": "https://github.com/oliverklee/ext-seminars/issues",
"source": "https://github.com/oliverklee/ext-seminars"
},
"require": {
"php": "^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.1.0 || ~8.2.0",
"ext-json": "*",
"ext-pdo": "*",
"doctrine/dbal": "^2.10",
"oliverklee/feuserextrafields": "^5.3.0",
"oliverklee/oelib": "^5.1.0",
"pelago/emogrifier": "^6.0.0 || ^7.0.0",
"psr/http-message": "^1.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"sjbr/static-info-tables": "^6.9.6 || ^11.5.3",
"symfony/console": "^4.4 || ^5.4 || ^6.2",
"symfony/mailer": "^4.4 || ^5.4 || ^6.2",
"symfony/mime": "^4.4 || ^5.4 || ^6.2",
"typo3/cms-backend": "^10.4.22 || ^11.5.4",
"typo3/cms-core": "^10.4.22 || ^11.5.4",
"typo3/cms-extbase": "^10.4.22 || ^11.5.4",
"typo3/cms-fluid": "^10.4.22 || ^11.5.4",
"typo3/cms-frontend": "^10.4.22 || ^11.5.4",
"typo3fluid/fluid": "^2.6.10"
},
"require-dev": {
"ergebnis/composer-normalize": "~2.19.0",
"friendsofphp/php-cs-fixer": "^3.4.0",
"helhum/typo3-console": "^6.7.6 || ^7.1.4",
"helmich/typo3-typoscript-lint": "^2.5.2",
"mikey179/vfsstream": "^1.6.11",
"nimut/testing-framework": "^6.0.1",
"oliverklee/phpunit": "^8.5.0",
"php-coveralls/php-coveralls": "^2.5.3",
"phpstan/extension-installer": "^1.2.0",
"phpstan/phpstan": "^1.9.6",
"phpstan/phpstan-phpunit": "^1.3.3",
"phpstan/phpstan-strict-rules": "^1.4.4",
"phpunit/phpunit": "^8.5.31",
"saschaegerer/phpstan-typo3": "^1.8.2",
"squizlabs/php_codesniffer": "^3.7.1",
"typo3/cms-install": "^10.4.22 || ^11.5.4",
"typo3/cms-scheduler": "^10.4.22 || ^11.5.4",
"typo3/coding-standards": "~0.6.1"
},
"replace": {
"typo3-ter/seminars": "self.version"
},
"suggest": {
"oliverklee/onetimeaccount": "for event registration without an explicit FE login",
"typo3/cms-install": "for running the upgrade wizards"
},
"prefer-stable": true,
"autoload": {
"psr-4": {
"OliverKlee\\Seminars\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"OliverKlee\\Seminars\\Tests\\": "Tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"helhum/typo3-console-plugin": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"preferred-install": {
"*": "dist"
},
"process-timeout": 1000,
"sort-packages": true,
"vendor-dir": ".Build/vendor"
},
"extra": {
"branch-alias": {
"dev-main": "5.1.x-dev"
},
"helhum/typo3-console": {
"install-extension-dummy": "0"
},
"typo3/cms": {
"app-dir": ".Build",
"extension-key": "seminars",
"web-dir": ".Build/public"
}
},
"scripts": {
"post-autoload-dump": [
"@link-extension"
],
"ci": [
"@ci:static",
"@ci:dynamic"
],
"ci:composer:normalize": "@composer normalize --no-check-lock --dry-run",
"ci:coverage": [
"@ci:coverage:unit",
"@ci:coverage:functional"
],
"ci:coverage:functional": [
"@coverage:create-directories",
"find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/vendor/bin/phpunit -c Configuration/FunctionalTests.xml --whitelist Classes --coverage-php=\".Build/coverage/{}.cov\" {}';"
],
"ci:coverage:legacy": [
"@coverage:create-directories",
".Build/vendor/bin/typo3 phpunit:run --options=\"--whitelist Classes --coverage-php=.Build/coverage/legacy.cov\" Tests/LegacyUnit"
],
"ci:coverage:merge": [
"@coverage:create-directories",
"tools/phpcov merge --clover=./build/logs/clover.xml ./.Build/coverage/"
],
"ci:coverage:unit": [
"@coverage:create-directories",
".Build/vendor/bin/phpunit -c Configuration/UnitTests.xml --whitelist Classes --coverage-php=.Build/coverage/unit.cov Tests/Unit"
],
"ci:dynamic": [
"@ci:tests"
],
"ci:php": [
"@ci:php:cs-fixer",
"@ci:php:lint",
"@ci:php:sniff",
"@ci:php:stan"
],
"ci:php:cs-fixer": "php-cs-fixer fix -v --dry-run --diff",
"ci:php:lint": "find .*.php *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"ci:php:rector": ".Build/vendor/bin/rector --dry-run",
"ci:php:sniff": ".Build/vendor/bin/phpcs Classes Configuration Tests",
"ci:php:stan": ".Build/vendor/bin/phpstan --no-progress",
"ci:static": [
"@ci:composer:normalize",
"@ci:php:cs-fixer",
"@ci:php:lint",
"@ci:php:sniff",
"@ci:php:stan",
"@ci:ts:lint"
],
"ci:tests": [
"@ci:tests:unit",
"@ci:tests:unit-legacy",
"@ci:tests:functional"
],
"ci:tests:functional": "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/vendor/bin/phpunit -c Configuration/FunctionalTests.xml {}';",
"ci:tests:unit": ".Build/vendor/bin/phpunit -c Configuration/UnitTests.xml Tests/Unit",
"ci:tests:unit-legacy": ".Build/vendor/bin/typo3 phpunit:run Tests/LegacyUnit",
"ci:ts:lint": ".Build/vendor/bin/typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
"coverage:create-directories": "mkdir -p build/logs .Build/coverage",
"create-legacy-test-setup": ".Build/vendor/bin/typo3cms install:setup --no-interaction --site-setup-type=\"site\" --database-user-name=\"root\" --database-user-password=\"root\" --database-host-name=\"192.168.101.2\" --database-name=\"seminars_test\" --admin-user-name=\"admin\" --admin-password=\"password\" --site-name=\"Test installation\"",
"fix": [
"@fix:composer",
"@fix:php"
],
"fix:composer": "@composer normalize --no-check-lock",
"fix:php": [
"@fix:php:cs",
"@fix:php:sniff"
],
"fix:php:cs": "php-cs-fixer fix",
"fix:php:sniff": "phpcbf Classes Configuration Tests",
"link-extension": [
"@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'",
"@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/seminars\") || symlink(__DIR__,$extFolder);'"
],
"php:rector": ".Build/vendor/bin/rector",
"phpstan:baseline": ".Build/vendor/bin/phpstan --generate-baseline=phpstan-baseline.neon",
"prepare-release": [
"rm -rf .Build",
"rm -rf .github",
"rm -rf .phive",
"rm -rf Tests",
"rm .editorconfig",
"rm .gitattributes",
"rm .gitignore",
"rm .php-cs-fixer.php",
"rm Configuration/FunctionalTests.xml",
"rm Configuration/UnitTests.xml",
"rm docker-compose.yml",
"rm phpcs.xml.dist",
"rm phpstan-baseline.neon",
"rm phpstan.neon",
"rm rector.php"
],
"typo3:docs:render": [
"docker-compose run --rm t3docmake"
],
"typo3:docs:serve": [
"php -S 127.0.0.1:4000 -t Documentation-GENERATED-temp/Result/project/0.0.0"
]
},
"scripts-descriptions": {
"ci": "Runs all dynamic and static code checks.",
"ci:composer:normalize": "Checks the composer.json.",
"ci:coverage": "Generates the code coverage report for unit and functional tests.",
"ci:coverage:functional": "Generates the code coverage report for functional tests.",
"ci:coverage:legacy": "Generates the code coverage report for legacy tests.",
"ci:coverage:merge": "Merges the code coverage reports for unit and functional tests.",
"ci:coverage:unit": "Generates the code coverage report for unit tests.",
"ci:php": "Runs all static checks for the PHP 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:rector": "Checks for code for changes by Rector.",
"ci:php:sniff": "Checks the code style with PHP_CodeSniffer (PHPCS).",
"ci:php:stan": "Checks the PHP types using PHPStan.",
"ci:static": "Runs all static code analysis checks for the code.",
"coverage:create-directories": "Creates the directories needed for recording and merging the code coverage reports.",
"fix": "Runs all automatic code style fixes.",
"fix:composer": "Runs all fixers for the PHP code.",
"fix:php": "Runs all fixers for the PHP code.",
"fix:php:cs": "Fixes the code style with PHP-CS-Fixer.",
"fix:php:sniff": "Fixes the code style with PHP_CodeSniffer.",
"php:rector": "Updates the code with Rector.",
"phpstan:baseline": "Updates the PHPStan baseline file to match the code.",
"prepare-release": "Removes development-only files in preparation of a TER release."
}
}