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