Skip to content

Commit dd2c832

Browse files
manickiWMDE bot
authored andcommitted
lib data model serialization: don't claim support on PHP < 7.4
The syntax of the library (at least test code) is no longer compatible with PHP < 7.4. Cannot automatically test the library code on obsolete PHP versions, so do not claim support for these. PHP 7.4 kept as it is the version used in the WMF environment as of this writing. Bug: T381168 Change-Id: Ifcec5ece2204cae2c563b551e09616116c1d6f78
1 parent 82f5d13 commit dd2c832

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/lint-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
php_version: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
11+
php_version: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Setup PHP

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"irc": "irc://irc.libera.chat/wikidata"
3232
},
3333
"require": {
34-
"php": "^7.0|^8.0",
34+
"php": "^7.4|^8.0",
3535
"wikibase/data-model": "~9.0|~8.0",
3636
"serialization/serialization": "~4.0|~3.1",
3737
"data-values/serialization": "~1.0"

0 commit comments

Comments
 (0)