forked from redaxo/redaxo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
166 lines (166 loc) · 6.68 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
{
"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": {
"friendsofphp/php-cs-fixer": "v3.48.0",
"friendsofredaxo/linter": "1.4.0",
"jetbrains/phpstorm-attributes": "^1.0",
"phpstan/extension-installer": "1.3.1",
"phpstan/phpstan": "1.10.56",
"phpstan/phpstan-deprecation-rules": "1.1.4",
"phpstan/phpstan-phpunit": "1.3.15",
"phpstan/phpstan-symfony": "1.3.7",
"phpunit/phpunit": "^10.0.7",
"psalm/plugin-phpunit": "0.18.4",
"psalm/plugin-symfony": "v5.1.0",
"rector/rector": "0.19.2",
"redaxo/php-cs-fixer-config": "2.4.0",
"redaxo/psalm-plugin": "2.0.0",
"vimeo/psalm": "5.20.0"
},
"replace": {
"erusev/parsedown": "1.7.4",
"erusev/parsedown-extra": "0.8.1",
"filp/whoops": "2.15.4",
"itsgoingd/clockwork": "v5.1.12",
"lbuchs/webauthn": "v1.1.3",
"phpmailer/phpmailer": "v6.9.1",
"psr/container": "2.0.2",
"psr/http-message": "1.1",
"psr/log": "1.1.4",
"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.2",
"symfony/deprecation-contracts": "v3.4.0",
"symfony/http-foundation": "v6.4.2",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php81": "*",
"symfony/polyfill-php83": "v1.28.0",
"symfony/service-contracts": "v3.4.1",
"symfony/string": "v6.4.2",
"symfony/var-dumper": "v6.4.2",
"symfony/yaml": "v6.4.0",
"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": {
"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": "php-cs-fixer fix -v --ansi",
"phpunit": "phpunit --colors=always",
"phpstan": "phpstan analyse --ansi",
"phpstan-baseline": "phpstan analyse --generate-baseline .tools/phpstan/baseline.neon",
"psalm": "psalm --use-baseline=.tools/psalm/baseline.xml",
"psalm-baseline": "psalm --set-baseline=.tools/psalm/baseline.xml",
"rector": [
"Composer\\Config::disableProcessTimeout",
"rector process --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",
"git checkout -- psalm.xml"
],
"sa": [
"@phpstan",
"@psalm"
],
"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": "Fix code style via php-cs-fixer",
"phpunit": "Run phpunit",
"phpstan": "Run static analysis via phpstan",
"phpstan-baseline": "Regenerate the phpstan baseline",
"psalm": "Run static analysis via psalm",
"psalm-baseline": "Regenerate the psalm static analysis baseline",
"rector": "Fix code style via rector",
"taint": "Run taint analysis via psalm",
"taint-baseline": "Regenerate the psalm taint analysis baseline",
"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
}
}
}