Skip to content

Commit de60967

Browse files
committed
Bump php version to >=8.0
Set platform config to 8 in order to install packages that support atleast that version. Bug: https://phabricator.wikimedia.org/T400564 Change-Id: I8fbcbcad1b2c6f9f285b08e673111dd375fa4ed9
1 parent c164085 commit de60967

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@
3131
}
3232
],
3333
"require": {
34-
"php": ">=7.3",
34+
"php": ">=8.0",
3535
"mustangostang/spyc": "0.6.3"
3636
},
3737
"require-dev": {
3838
"ext-curl": "*",
3939
"phpunit/phpunit": "9.6.20",
4040
"mediawiki/mediawiki-codesniffer": "47.0.0"
4141
},
42+
4243
"support": {
4344
"issues": "https://github.com/wikimedia/language-data/issues",
4445
"irc": "irc://irc.freenode.net/mediawiki-i18n",
@@ -62,6 +63,9 @@
6263
"config": {
6364
"allow-plugins": {
6465
"dealerdirect/phpcodesniffer-composer-installer": true
66+
},
67+
"platform": {
68+
"php": "8.0"
6569
}
6670
}
6771
}

composer.lock

Lines changed: 18 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)