SpecialRedirect: Don't pass null to explode
[mediawiki.git] / composer.json
blobafb56cdd8b151ae42f25337711a714b6b39437ab
2         "name": "mediawiki/core",
3         "description": "Free software wiki application developed by the Wikimedia Foundation and others",
4         "type": "mediawiki-core",
5         "keywords": [
6                 "mediawiki",
7                 "wiki"
8         ],
9         "homepage": "https://www.mediawiki.org/",
10         "authors": [
11                 {
12                         "name": "MediaWiki Community",
13                         "homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
14                 }
15         ],
16         "license": "GPL-2.0-or-later",
17         "support": {
18                 "issues": "https://bugs.mediawiki.org/",
19                 "irc": "irc://irc.libera.chat/mediawiki",
20                 "wiki": "https://www.mediawiki.org/"
21         },
22         "prefer-stable": true,
23         "require": {
24                 "composer/semver": "3.3.2",
25                 "cssjanus/cssjanus": "2.1.0",
26                 "ext-calendar": "*",
27                 "ext-ctype": "*",
28                 "ext-dom": "*",
29                 "ext-fileinfo": "*",
30                 "ext-iconv": "*",
31                 "ext-intl": "*",
32                 "ext-json": "*",
33                 "ext-libxml": "*",
34                 "ext-mbstring": "*",
35                 "ext-xml": "*",
36                 "ext-xmlreader": "*",
37                 "guzzlehttp/guzzle": "7.4.5",
38                 "justinrainbow/json-schema": "5.2.11",
39                 "liuggio/statsd-php-client": "1.0.18",
40                 "monolog/monolog": "2.2.0",
41                 "oojs/oojs-ui": "0.44.0",
42                 "pear/mail": "1.4.1",
43                 "pear/mail_mime": "1.10.11",
44                 "pear/net_smtp": "1.10.0",
45                 "php": "~7.2.22 || >=7.3.8",
46                 "psr/container": "1.1.1",
47                 "psr/log": "1.1.4",
48                 "ralouphie/getallheaders": "3.0.3",
49                 "symfony/polyfill-php73": "1.26.0",
50                 "symfony/polyfill-php80": "1.26.0",
51                 "symfony/yaml": "5.4.10",
52                 "wikimedia/assert": "0.5.1",
53                 "wikimedia/at-ease": "2.1.0",
54                 "wikimedia/base-convert": "2.0.1",
55                 "wikimedia/cdb": "2.0.0",
56                 "wikimedia/cldr-plural-rule-parser": "2.0.0",
57                 "wikimedia/common-passwords": "0.4.0",
58                 "wikimedia/composer-merge-plugin": "2.0.1",
59                 "wikimedia/html-formatter": "3.0.1",
60                 "wikimedia/ip-set": "3.1.0",
61                 "wikimedia/ip-utils": "4.0.0",
62                 "wikimedia/less.php": "3.1.0",
63                 "wikimedia/minify": "2.3.0",
64                 "wikimedia/normalized-exception": "1.0.1",
65                 "wikimedia/object-factory": "4.0.0",
66                 "wikimedia/parsoid": "^0.16.0-a1@alpha",
67                 "wikimedia/php-session-serializer": "2.0.0",
68                 "wikimedia/purtle": "1.0.8",
69                 "wikimedia/relpath": "3.0.0",
70                 "wikimedia/remex-html": "3.0.2",
71                 "wikimedia/request-timeout": "1.2.0",
72                 "wikimedia/running-stat": "1.2.1",
73                 "wikimedia/scoped-callback": "3.0.0",
74                 "wikimedia/services": "2.0.1",
75                 "wikimedia/shellbox": "3.0.0",
76                 "wikimedia/utfnormal": "3.0.2",
77                 "wikimedia/timestamp": "4.0.0",
78                 "wikimedia/wait-condition-loop": "2.0.2",
79                 "wikimedia/wrappedstring": "4.0.1",
80                 "wikimedia/xmp-reader": "0.8.2",
81                 "zordius/lightncandy": "1.2.6"
82         },
83         "require-dev": {
84                 "ext-simplexml": "*",
85                 "composer/spdx-licenses": "1.5.6",
86                 "doctrine/dbal": "2.13.6||3.1.5",
87                 "doctrine/sql-formatter": "1.1.1",
88                 "giorgiosironi/eris": "^0.10.0",
89                 "hamcrest/hamcrest-php": "^2.0",
90                 "johnkary/phpunit-speedtrap": "^4.0",
91                 "mediawiki/mediawiki-codesniffer": "38.0.0",
92                 "mediawiki/mediawiki-phan-config": "0.11.1",
93                 "nikic/php-parser": "^4.10.2",
94                 "php-parallel-lint/php-console-highlighter": "0.5",
95                 "php-parallel-lint/php-parallel-lint": "1.3.1",
96                 "phpunit/phpunit": "^8.5",
97                 "psy/psysh": "^0.11.1",
98                 "seld/jsonlint": "1.8.3",
99                 "wikimedia/alea": "^0.9.3",
100                 "wikimedia/testing-access-wrapper": "~2.0",
101                 "wmde/hamcrest-html-matchers": "^1.0.0"
102         },
103         "replace": {
104                 "symfony/polyfill-ctype": "1.99",
105                 "symfony/polyfill-mbstring": "1.99"
106         },
107         "suggest": {
108                 "ext-apcu": "Faster web responses overall.",
109                 "ext-curl": "Faster HTTP services, e.g. when using InstantCommons, Swift, or Etcd.",
110                 "ext-gd": "Enable thumbnails for file uploads.",
111                 "ext-mysqli": "Enable the MySQL and MariaDB database type for MediaWiki.",
112                 "ext-openssl": "Encrypt session data (or opt-out via $wgSessionInsecureSecrets).",
113                 "ext-pdo": "Enable the SQLite database type for MediaWiki.",
114                 "ext-pgsql": "Enable the PostgreSQL database type for MediaWiki.",
115                 "ext-posix": "Enable CLI concurrent processing, e.g. for runJobs.php.",
116                 "ext-pcntl": "Enable CLI concurrent processing, e.g. for runJobs.php and rebuildLocalisationCache.php.",
117                 "ext-readline": "Enable CLI history and autocomplete, e.g. for eval.php and other REPLs.",
118                 "ext-sockets": "Enable CLI concurrent processing, e.g. for rebuildLocalisationCache.php.",
119                 "ext-wikidiff2": "Faster text difference engine.",
120                 "ext-zlib": "Enable use of GZIP compression, e.g. for SqlBagOStuff (ParserCache), $wgCompressRevisions, or $wgUseFileCache.",
121                 "monolog/monolog": "Enable use of MonologSpi ($wgMWLoggerDefaultSpi)."
122         },
123         "autoload": {
124                 "psr-0": {
125                         "ComposerHookHandler": "includes/composer",
126                         "ComposerVendorHtaccessCreator": "includes/composer",
127                         "ComposerPhpunitXmlCoverageEdit": "includes/composer"
128                 }
129         },
130         "autoload-dev": {
131                 "files": [
132                         "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php",
133                         "vendor/wmde/hamcrest-html-matchers/src/functions.php"
134                 ]
135         },
136         "scripts": {
137                 "mw-install:sqlite": "php maintenance/install.php --server=http://localhost:4000 --dbtype sqlite --dbpath cache/ --scriptpath '' --pass adminpassword MediaWiki Admin",
138                 "serve": "php -S localhost:4000",
139                 "lint": "parallel-lint --exclude node_modules --exclude vendor",
140                 "phan": "phan -d . --long-progress-bar",
141                 "phpcs": "phpcs -p -s --cache",
142                 "fix": [
143                         "phpcbf"
144                 ],
145                 "pre-install-cmd": "ComposerHookHandler::onPreInstall",
146                 "pre-update-cmd": "ComposerHookHandler::onPreUpdate",
147                 "post-install-cmd": "ComposerVendorHtaccessCreator::onEvent",
148                 "post-update-cmd": "ComposerVendorHtaccessCreator::onEvent",
149                 "releasenotes": "@phpunit:entrypoint --group ReleaseNotes",
150                 "test": [
151                         "@lint .",
152                         "@phpcs ."
153                 ],
154                 "test-some": [
155                         "@lint",
156                         "@phpcs"
157                 ],
158                 "phpunit": "php tests/phpunit/phpunit.php",
159                 "phpunit:unit": "phpunit --colors=always --testsuite=core:unit,extensions:unit,skins:unit",
160                 "phpunit:integration": "@phpunit --colors=always --testsuite=core:integration,extensions:integration,skins:integration",
161                 "phpunit:coverage": "@phpunit --testsuite=core:unit --exclude-group Dump,Broken",
162                 "phpunit:coverage-edit": "ComposerPhpunitXmlCoverageEdit::onEvent",
163                 "phpunit:entrypoint": "@phpunit -c tests/phpunit/suite.xml"
164         },
165         "config": {
166                 "optimize-autoloader": true,
167                 "prepend-autoloader": false,
168                 "allow-plugins": {
169                         "composer/package-versions-deprecated": true,
170                         "wikimedia/composer-merge-plugin": true
171                 }
172         },
173         "extra": {
174                 "merge-plugin": {
175                         "include": [
176                                 "composer.local.json"
177                         ],
178                         "merge-dev": false
179                 }
180         }