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/tests/observers_test.php b/tests/observers_test.php index e129e3a..aa6534c 100644 --- a/tests/observers_test.php +++ b/tests/observers_test.php @@ -46,6 +46,8 @@ final class observers_test extends advanced_testcase { * @return void */ protected function setUp(): void { + parent::setUp(); + $this->resetAfterTest(true); // Create test courses. diff --git a/tests/privacy/provider_test.php b/tests/privacy/provider_test.php index 7ebbdf3..1f5b8cb 100644 --- a/tests/privacy/provider_test.php +++ b/tests/privacy/provider_test.php @@ -50,6 +50,8 @@ final class provider_test extends provider_testcase { * @return void */ protected function setUp(): void { + parent::setUp(); + $this->resetAfterTest(true); // Create test courses. diff --git a/version.php b/version.php index ee94d17..ed2e8ae 100644 --- a/version.php +++ b/version.php @@ -25,8 +25,8 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'local_metagroups'; -$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;