diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index 2d09354..526c601 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -22,12 +22,12 @@ jobs: include: - php: '8.0' moodle-branch: 'MOODLE_401_STABLE' - - php: '8.0' - moodle-branch: 'MOODLE_402_STABLE' - php: '8.1' moodle-branch: 'MOODLE_403_STABLE' - php: '8.2' moodle-branch: 'MOODLE_404_STABLE' + - php: '8.3' + moodle-branch: 'MOODLE_405_STABLE' steps: - name: Check out repository code @@ -61,6 +61,10 @@ jobs: if: ${{ !cancelled() }} run: moodle-plugin-ci phpcs --max-warnings 0 + - name: PHPDoc checker + if: ${{ !cancelled() }} + run: moodle-plugin-ci phpdoc --max-warnings 0 + - name: Grunt if: ${{ !cancelled() }} run: moodle-plugin-ci grunt --max-lint-warnings 0 diff --git a/classes/version_helper.php b/classes/version_helper.php index 6c9e9b1..5d50ceb 100644 --- a/classes/version_helper.php +++ b/classes/version_helper.php @@ -32,6 +32,7 @@ class version_helper { /** @var array $branchdates See https://docs.moodle.org/dev/Releases */ protected static $branchdates = [ + 20241007 => '4.5', 20240422 => '4.4', 20231009 => '4.3', 20230424 => '4.2', diff --git a/tests/version_helper_test.php b/tests/version_helper_test.php index 794bc16..a4c9bb4 100644 --- a/tests/version_helper_test.php +++ b/tests/version_helper_test.php @@ -60,6 +60,7 @@ public function test_get_version_string(string $version, string $expected): void */ public static function get_release_name_provider(): array { return [ + ['2024100700', '4.5'], ['2024042200', '4.4'], ['2023100900', '4.3'], ['2023042400', '4.2'], diff --git a/version.php b/version.php index 3937d76..0db9b10 100644 --- a/version.php +++ b/version.php @@ -25,7 +25,7 @@ defined('MOODLE_INTERNAL') || die; $plugin->component = 'report_upgradelog'; -$plugin->release = '4.4'; -$plugin->version = 2024042200; +$plugin->release = '4.5'; +$plugin->version = 2024100800; $plugin->requires = 2022112800; // Moodle 4.1 onwards. $plugin->maturity = MATURITY_STABLE;