Skip to content

Commit f6bc0fd

Browse files
committed
WP-5102 remove 4.0 from support
1 parent ad22681 commit f6bc0fd

File tree

3 files changed

+4
-37
lines changed

3 files changed

+4
-37
lines changed

.github/workflows/moodle-ci.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
include:
31-
- php: '7.3'
32-
moodle-branch: 'MOODLE_400_STABLE'
33-
database: pgsql
34-
extensions:
35-
civersion: 3
36-
- php: '8.0'
37-
moodle-branch: 'MOODLE_400_STABLE'
38-
database: mariadb
39-
extensions: xmlrpc-beta
4031
- php: '7.4'
4132
moodle-branch: 'MOODLE_401_STABLE'
4233
database: pgsql
@@ -82,8 +73,7 @@ jobs:
8273

8374
- name: Initialise moodle-plugin-ci
8475
run: |
85-
civersion=$(if [[ "${{ matrix.civersion }}" == "3" ]]; then echo "^3"; else echo "^4"; fi)
86-
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci $civersion
76+
composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^4
8777
echo $(cd ci/bin; pwd) >> $GITHUB_PATH
8878
echo $(cd ci/vendor/bin; pwd) >> $GITHUB_PATH
8979
sudo locale-gen en_AU.UTF-8
@@ -118,8 +108,7 @@ jobs:
118108

119109
- name: Moodle PHPDoc Checker
120110
if: ${{ always() }}
121-
# Skip for ci^3 since it may give different results on the old version and --max-warnings is not supported
122-
run: if [[ "${{ matrix.civersion }}" == "3" ]]; then true; else moodle-plugin-ci phpdoc --max-warnings 0; fi
111+
run: moodle-plugin-ci phpdoc --max-warnings 0
123112

124113
- name: Validating
125114
if: ${{ always() }}

.gitlab-ci.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ variables:
1515
MOODLE_BRANCH_WORKPLACE403S: WORKPLACE_403
1616
MOODLE_BRANCH_WORKPLACE402S: WORKPLACE_402
1717
MOODLE_BRANCH_WORKPLACE401S: WORKPLACE_401
18-
MOODLE_BRANCH_WORKPLACE400: WORKPLACE_400
1918
MOODLE_REPO_LMS: git@git.in.moodle.com:moodle/moodle.git
20-
MOODLE_BRANCH_LMS400: MOODLE_400_STABLE
2119
MOODLE_BRANCH_LMS401: MOODLE_401_STABLE
2220
MOODLE_BRANCH_LMS402: MOODLE_402_STABLE
2321
MOODLE_BRANCH_LMS403: MOODLE_403_STABLE
@@ -186,26 +184,6 @@ wp401s:
186184
- tags
187185
- /^WORKPLACE_(ROLLING_)?\d+$/
188186

189-
wp400:
190-
before_script:
191-
- export MOODLE_REPO=$MOODLE_REPO_WORKPLACE
192-
- export MOODLE_BRANCH=$MOODLE_BRANCH_WORKPLACE400
193-
- export INCLUDERB=1
194-
<<: *scriptshorttest
195-
except:
196-
- master
197-
- tags
198-
- /^WORKPLACE_(ROLLING_)?\d+$/
199-
200-
lms400:
201-
before_script:
202-
- export MOODLE_REPO=$MOODLE_REPO_LMS
203-
- export MOODLE_BRANCH=$MOODLE_BRANCH_LMS400
204-
<<: *scriptshorttest
205-
except:
206-
- master
207-
- tags
208-
209187
lms401:
210188
before_script:
211189
- export MOODLE_REPO=$MOODLE_REPO_LMS

version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
$plugin->component = 'mod_coursecertificate';
2828
$plugin->release = '4.4.3';
2929
$plugin->version = 2024090300;
30-
$plugin->requires = 2022041900.00;
30+
$plugin->requires = 2022112800.00;
3131
$plugin->maturity = MATURITY_STABLE;
32-
$plugin->supported = [400, 404];
32+
$plugin->supported = [401, 405];
3333
$plugin->dependencies = [
3434
'tool_certificate' => 2024090300,
3535
];

0 commit comments

Comments
 (0)