StatusValue: Add a getter for MessageSpecifier list
[mediawiki.git] / composer.json
blobd9cbb1c90593db817aa291e49a974fce75503005
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://phabricator.wikimedia.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.4.0",
25                 "cssjanus/cssjanus": "2.1.1",
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.7.1",
38                 "justinrainbow/json-schema": "5.2.13",
39                 "liuggio/statsd-php-client": "1.0.18",
40                 "mck89/peast": "1.16.2",
41                 "monolog/monolog": "2.9.2",
42                 "oojs/oojs-ui": "0.49.1",
43                 "pear/mail": "1.6.0",
44                 "pear/mail_mime": "1.10.12",
45                 "pear/net_smtp": "1.11.1",
46                 "php": ">=7.4.3",
47                 "psr/container": "1.1.2",
48                 "psr/http-message": "1.1",
49                 "psr/log": "1.1.4",
50                 "ralouphie/getallheaders": "3.0.3",
51                 "symfony/polyfill-php80": "1.29.0",
52                 "symfony/polyfill-php81": "1.29.0",
53                 "symfony/polyfill-php82": "1.29.0",
54                 "symfony/polyfill-php83": "1.29.0",
55                 "symfony/yaml": "5.4.35",
56                 "wikimedia/assert": "0.5.1",
57                 "wikimedia/at-ease": "2.1.0",
58                 "wikimedia/base-convert": "2.0.2",
59                 "wikimedia/bcp-47-code": "2.0.0",
60                 "wikimedia/cdb": "3.0.0",
61                 "wikimedia/cldr-plural-rule-parser": "2.0.0",
62                 "wikimedia/common-passwords": "0.5.0",
63                 "wikimedia/composer-merge-plugin": "2.1.0",
64                 "wikimedia/html-formatter": "4.1.0",
65                 "wikimedia/ip-utils": "5.0.0",
66                 "wikimedia/json-codec": "2.2.1",
67                 "wikimedia/less.php": "4.2.1",
68                 "wikimedia/minify": "2.7.0",
69                 "wikimedia/normalized-exception": "1.0.1",
70                 "wikimedia/object-factory": "5.0.1",
71                 "wikimedia/parsoid": "0.19.0-a25",
72                 "wikimedia/php-session-serializer": "2.0.1",
73                 "wikimedia/purtle": "1.0.8",
74                 "wikimedia/relpath": "4.0.0",
75                 "wikimedia/remex-html": "4.1.0",
76                 "wikimedia/request-timeout": "1.2.0",
77                 "wikimedia/running-stat": "2.1.0",
78                 "wikimedia/scoped-callback": "4.0.0",
79                 "wikimedia/services": "3.0.0",
80                 "wikimedia/shellbox": "4.0.2",
81                 "wikimedia/utfnormal": "4.0.0",
82                 "wikimedia/timestamp": "4.1.1",
83                 "wikimedia/wait-condition-loop": "2.0.2",
84                 "wikimedia/wrappedstring": "4.0.1",
85                 "wikimedia/xmp-reader": "0.9.1",
86                 "zordius/lightncandy": "1.2.6"
87         },
88         "require-dev": {
89                 "composer/spdx-licenses": "1.5.8",
90                 "doctrine/dbal": "3.7.2",
91                 "doctrine/sql-formatter": "1.1.3",
92                 "ext-simplexml": "*",
93                 "giorgiosironi/eris": "^0.14.0",
94                 "hamcrest/hamcrest-php": "^2.0",
95                 "johnkary/phpunit-speedtrap": "^4.0",
96                 "mediawiki/mediawiki-codesniffer": "43.0.0",
97                 "mediawiki/mediawiki-phan-config": "0.14.0",
98                 "nikic/php-parser": "^4.10.2",
99                 "php-parallel-lint/php-console-highlighter": "1.0.0",
100                 "php-parallel-lint/php-parallel-lint": "1.4.0",
101                 "phpunit/phpunit": "9.6.16",
102                 "psy/psysh": "^0.12.3",
103                 "seld/jsonlint": "1.10.1",
104                 "wikimedia/alea": "1.0.0",
105                 "wikimedia/langconv": "^0.4.2",
106                 "wikimedia/testing-access-wrapper": "^3.0.0",
107                 "wmde/hamcrest-html-matchers": "^1.0.0"
108         },
109         "replace": {
110                 "symfony/polyfill-ctype": "1.99",
111                 "symfony/polyfill-intl-grapheme": "1.17.1",
112                 "symfony/polyfill-intl-normalizer": "1.17.1",
113                 "symfony/polyfill-mbstring": "1.99"
114         },
115         "suggest": {
116                 "ext-apcu": "Faster web responses overall.",
117                 "ext-bcmath": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-gmp are needed for scrambling Temporary Accounts.",
118                 "ext-curl": "Faster HTTP services, e.g. when using InstantCommons, Swift, or Etcd.",
119                 "ext-exif": "Enable processing of EXIF information in file uploads.",
120                 "ext-gd": "Enable thumbnails for file uploads.",
121                 "ext-gmp": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-bcmath are needed for scrambling Temporary Accounts.",
122                 "ext-mysqli": "Enable the MySQL and MariaDB database type for MediaWiki.",
123                 "ext-openssl": "Encrypt session data (or opt-out via $wgSessionInsecureSecrets).",
124                 "ext-pdo": "Enable the SQLite database type for MediaWiki.",
125                 "ext-pgsql": "Enable the PostgreSQL database type for MediaWiki.",
126                 "ext-posix": "Enable CLI concurrent processing, e.g. for runJobs.php.",
127                 "ext-pcntl": "Enable CLI concurrent processing, e.g. for runJobs.php and rebuildLocalisationCache.php.",
128                 "ext-readline": "Enable CLI history and autocomplete, e.g. for eval.php and other REPLs.",
129                 "ext-sockets": "Enable CLI concurrent processing, e.g. for rebuildLocalisationCache.php.",
130                 "ext-wikidiff2": "Faster text difference engine.",
131                 "ext-zlib": "Enable use of GZIP compression, e.g. for SqlBagOStuff (ParserCache), $wgCompressRevisions, or $wgUseFileCache.",
132                 "monolog/monolog": "Enable use of MonologSpi ($wgMWLoggerDefaultSpi)."
133         },
134         "autoload": {
135                 "psr-4": {
136                         "MediaWiki\\Composer\\": "includes/composer"
137                 }
138         },
139         "autoload-dev": {
140                 "files": [
141                         "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php",
142                         "vendor/wmde/hamcrest-html-matchers/src/functions.php"
143                 ]
144         },
145         "scripts": {
146                 "mw-install:sqlite": "@php maintenance/run.php install --server=http://localhost:4000 --dbtype sqlite --with-developmentsettings --dbpath cache/ --scriptpath= --pass adminpassword MediaWiki Admin",
147                 "serve": [
148                         "Composer\\Config::disableProcessTimeout",
149                         "@putenv MW_LOG_DIR=logs",
150                         "@putenv MW_LOG_STDERR=1",
151                         "@putenv PHP_CLI_SERVER_WORKERS=8",
152                         "@php -S 127.0.0.1:4000"
153                 ],
154                 "lint": "parallel-lint --exclude node_modules --exclude vendor",
155                 "phan": "phan -d . --long-progress-bar",
156                 "phpcs": "phpcs -p -s --cache",
157                 "fix": [
158                         "phpcbf"
159                 ],
160                 "pre-install-cmd": "MediaWiki\\Composer\\VersionChecker::onEvent",
161                 "pre-update-cmd": "MediaWiki\\Composer\\VersionChecker::onEvent",
162                 "post-install-cmd": "MediaWiki\\Composer\\ComposerVendorHtaccessCreator::onEvent",
163                 "post-update-cmd": "MediaWiki\\Composer\\ComposerVendorHtaccessCreator::onEvent",
164                 "releasenotes": "@phpunit --group ReleaseNotes",
165                 "test": [
166                         "@lint .",
167                         "@phpcs ."
168                 ],
169                 "test-some": [
170                         "@lint",
171                         "@phpcs"
172                 ],
173                 "phpunit": "phpunit",
174                 "phpunit:unit": "@phpunit --colors=always --testsuite=core:unit,extensions:unit,skins:unit",
175                 "phpunit:integration": "@phpunit --colors=always --testsuite=core:integration,extensions:integration,skins:integration",
176                 "phpunit:coverage": "@phpunit --testsuite=core:unit --exclude-group Dump,Broken",
177                 "phpunit:coverage-edit": "ComposerPhpunitXmlCoverageEdit::onEvent",
178                 "phpunit:entrypoint": "@phpunit"
179         },
180         "config": {
181                 "optimize-autoloader": true,
182                 "prepend-autoloader": false,
183                 "allow-plugins": {
184                         "wikimedia/composer-merge-plugin": true,
185                         "composer/installers": true,
186                         "dealerdirect/phpcodesniffer-composer-installer": true
187                 }
188         },
189         "extra": {
190                 "merge-plugin": {
191                         "include": [
192                                 "composer.local.json"
193                         ],
194                         "merge-dev": false
195                 }
196         }