From 0dac1d2d265a5280f8105a2d394710b4f56436aa Mon Sep 17 00:00:00 2001 From: paladox Date: Tue, 7 Jan 2025 17:04:25 +0000 Subject: [PATCH] Add CI for MW 1.39 (#43) * Add CI for MW 1.39 * Remove CI for MW 1.35. * Bump php version requirements to php 7.4. * Bumps mw requirements to MW 1.39+. * Bumps composer to use composer v2. * Update ci.yml * Update extension.json * Update composer.json --- .github/workflows/ci.yml | 6 ++---- composer.json | 2 +- extension.json | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa2ab68..9721c5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,7 @@ jobs: strategy: matrix: include: - - mw: 'REL1_35' - php: 7.3 - - mw: 'REL1_35' + - mw: 'REL1_39' php: 7.4 - mw: 'master' php: 7.4 @@ -32,7 +30,7 @@ jobs: with: php-version: ${{ matrix.php }} extensions: mbstring, intl - tools: composer:v1 + tools: composer:v2 - name: Cache MediaWiki id: cache-mediawiki diff --git a/composer.json b/composer.json index 3c971c6..7526450 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "irc": "irc://irc.freenode.net/mediawiki" }, "require": { - "php": ">=5.5.0", + "php": ">=7.4", "param-processor/param-processor": "~1.1" }, "require-dev": { diff --git a/extension.json b/extension.json index 278651a..d6730c1 100644 --- a/extension.json +++ b/extension.json @@ -11,7 +11,7 @@ "type": "other", "callback": "ValidatorHooks::onRegistration", "requires": { - "MediaWiki": ">= 1.35.0" + "MediaWiki": ">= 1.39.0" }, "MessagesDirs": { "Validator": [