forked from redaxo/redaxo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
198 lines (198 loc) · 7.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
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
{
"name": "redaxo/source",
"type": "library",
"description": "REDAXO CMS source repository (for static analysis)",
"license": "MIT",
"require": {
"php": ">=8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-intl": "*",
"ext-mbstring": "*"
},
"require-dev": {
"friendsofredaxo/linter": "1.4.0",
"jetbrains/phpstorm-attributes": "^1.1",
"phpstan/extension-installer": "1.3.1",
"phpstan/phpstan": "1.10.67",
"phpstan/phpstan-deprecation-rules": "1.1.4",
"phpstan/phpstan-phpunit": "1.3.16",
"phpstan/phpstan-symfony": "1.3.12",
"phpunit/phpunit": "^10.5.20",
"psalm/plugin-phpunit": "0.19.0",
"psalm/plugin-symfony": "v5.1.0",
"rector/rector": "1.0.5",
"redaxo/php-cs-fixer-config": "2.10.0",
"redaxo/psalm-plugin": "2.0.0",
"vimeo/psalm": "5.24.0"
},
"replace": {
"erusev/parsedown": "1.7.4",
"erusev/parsedown-extra": "0.8.1",
"filp/whoops": "2.15.4",
"itsgoingd/clockwork": "v5.2.2",
"lbuchs/webauthn": "v2.1.1",
"phpmailer/phpmailer": "v6.9.1",
"psr/container": "2.0.2",
"psr/http-message": "1.1",
"psr/log": "3.0.0",
"ramsey/collection": "1.3.0",
"ramsey/http-range": "1.1.0",
"scssphp/scssphp": "v1.12.1",
"splitbrain/php-archive": "1.3.1",
"symfony/console": "v6.4.7",
"symfony/deprecation-contracts": "v3.5.0",
"symfony/http-foundation": "v6.4.7",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php81": "*",
"symfony/polyfill-php83": "v1.29.0",
"symfony/service-contracts": "v3.5.0",
"symfony/string": "v6.4.7",
"symfony/var-dumper": "v6.4.7",
"symfony/yaml": "v6.4.7",
"voku/anti-xss": "4.1.42",
"voku/portable-ascii": "2.0.1",
"voku/portable-utf8": "6.0.13"
},
"autoload": {
"classmap": [
"redaxo/src/addons/backup/lib/",
"redaxo/src/addons/backup/vendor/",
"redaxo/src/addons/be_style/lib/",
"redaxo/src/addons/be_style/vendor/scssphp/",
"redaxo/src/addons/cronjob/lib/",
"redaxo/src/addons/cronjob/plugins/article_status/lib/",
"redaxo/src/addons/cronjob/plugins/optimize_tables/lib/",
"redaxo/src/addons/debug/lib/",
"redaxo/src/addons/debug/vendor/",
"redaxo/src/addons/install/lib/",
"redaxo/src/addons/media_manager/lib/",
"redaxo/src/addons/mediapool/lib/",
"redaxo/src/addons/metainfo/lib/",
"redaxo/src/addons/phpmailer/lib/",
"redaxo/src/addons/phpmailer/vendor/",
"redaxo/src/addons/structure/lib/",
"redaxo/src/addons/structure/plugins/content/lib/",
"redaxo/src/addons/structure/plugins/history/lib/",
"redaxo/src/addons/structure/plugins/version/lib/",
"redaxo/src/addons/users/lib/",
"redaxo/src/core/lib/"
],
"files": [
"redaxo/src/addons/mediapool/functions/function_rex_mediapool.php",
"redaxo/src/addons/metainfo/extensions/extension_cleanup.php",
"redaxo/src/addons/metainfo/functions/function_metainfo.php",
"redaxo/src/addons/structure/functions/function_rex_url.php",
"redaxo/src/core/functions/function_rex_escape.php",
"redaxo/src/core/functions/function_rex_globals.php",
"redaxo/src/core/functions/function_rex_other.php",
"redaxo/src/core/vendor/autoload.php"
]
},
"autoload-dev": {
"psr-4": {
"Redaxo\\Rector\\": ".tools/rector"
},
"classmap": [
"redaxo/src/addons/media_manager/tests/",
"redaxo/src/addons/mediapool/tests/",
"redaxo/src/addons/structure/tests/",
"redaxo/src/addons/structure/plugins/content/tests/",
"redaxo/src/core/tests/"
]
},
"bin": [
"redaxo/bin/console"
],
"scripts": {
"clone-addon": ".tools/bin/clone-addon",
"rebase-to-bugfix": "bash .tools/bin/rebase-to-bugfix",
"refresh": "bash .tools/bin/refresh",
"release": ".tools/bin/release",
"update:all": "bash .tools/bin/update-all",
"update:tools": "bash .tools/bin/update-tools",
"cs-fixer": "php-cs-fixer fix -v --ansi",
"cs-fixer:no-cache": [
"rm -f .php-cs-fixer.cache",
"php-cs-fixer fix -v --using-cache=no --ansi"
],
"phpunit": "phpunit --colors=always",
"phpstan": "phpstan analyse --ansi",
"phpstan:baseline": "phpstan analyse --generate-baseline .tools/phpstan/baseline.neon",
"phpstan:no-cache": [
"phpstan clear-result-cache --ansi",
"@phpstan"
],
"psalm": "psalm --use-baseline=.tools/psalm/baseline.xml",
"psalm:baseline": "psalm --set-baseline=.tools/psalm/baseline.xml --no-cache || true",
"psalm:no-cache": [
"psalm --clear-cache",
"psalm --use-baseline=.tools/psalm/baseline.xml --no-cache"
],
"rector": [
"Composer\\Config::disableProcessTimeout",
"rector process --ansi"
],
"rector:no-cache": [
"Composer\\Config::disableProcessTimeout",
"rector process --clear-cache --ansi"
],
"taint": "psalm --use-baseline=.tools/psalm/baseline-taint.xml --taint-analysis --no-cache --threads=1",
"taint:baseline": [
"psalm --set-baseline=.tools/psalm/baseline-taint.xml --taint-analysis --no-cache --threads=1 || true",
"git checkout -- psalm.xml"
],
"cs": [
"@rector",
"@cs-fixer"
],
"sa": [
"@phpstan",
"@psalm"
],
"baseline": [
"@phpstan:baseline",
"@psalm:baseline",
"@taint:baseline"
],
"check": [
"@cs",
"@sa",
"@phpunit",
"@taint"
]
},
"scripts-descriptions": {
"clone-addon": "Clone given addon (by user/repo or github url) into addon directory",
"rebase-to-bugfix": "Rebase current branch onto bugfix",
"refresh": "Refresh local instance (refresh core assets, re-install system addons, clear cache, update dev tools)",
"release": "Create release zip for given version number",
"update:all": "Update all vendor libs (php and js) in core, system addons and dev tools",
"update:tools": "Update dev tools",
"cs-fixer": "Fix code style via php-cs-fixer",
"cs-fixer:no-cache": "Fix code style via php-cs-fixer (without cache)",
"phpunit": "Run phpunit",
"phpstan": "Run static analysis via phpstan",
"phpstan:baseline": "Regenerate the phpstan baseline",
"phpstan:no-cache": "Run static analysis via phpstan (without cache)",
"psalm": "Run static analysis via psalm",
"psalm:baseline": "Regenerate the psalm static analysis baseline",
"psalm:no-cache": "Run static analysis via psalm (without cache)",
"rector": "Fix code style via rector",
"rector:no-cache": "Fix code style via rector (without cache)",
"taint": "Run taint analysis via psalm",
"taint:baseline": "Regenerate the psalm taint analysis baseline",
"cs": "Run all code style fixers (rector and php-cs-fixer)",
"sa": "Run all static analyses (psalm and phpstan)",
"check": "Check all (code style, static analysis, unit tests)"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"phpstan/extension-installer": true
}
}
}