diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml index c947f38..e2a310e 100644 --- a/.github/workflows/moodle-plugin-ci.yml +++ b/.github/workflows/moodle-plugin-ci.yml @@ -8,7 +8,7 @@ jobs: services: postgres: - image: postgres:12 + image: postgres:13 env: POSTGRES_USER: 'postgres' POSTGRES_HOST_AUTH_METHOD: 'trust' @@ -16,7 +16,7 @@ jobs: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3 mariadb: - image: mariadb:10.5 + image: mariadb:10.6 env: MYSQL_USER: 'root' MYSQL_ALLOW_EMPTY_PASSWORD: "true" @@ -30,6 +30,42 @@ jobs: fail-fast: false matrix: include: + - php: 8.2 + moodle-branch: MOODLE_403_STABLE + database: pgsql + - php: 8.2 + moodle-branch: MOODLE_403_STABLE + database: mariadb + - php: 8.1 + moodle-branch: MOODLE_403_STABLE + database: pgsql + - php: 8.1 + moodle-branch: MOODLE_403_STABLE + database: mariadb + - php: 8.0 + moodle-branch: MOODLE_403_STABLE + database: pgsql + - php: 8.0 + moodle-branch: MOODLE_403_STABLE + database: mariadb + - php: 8.2 + moodle-branch: MOODLE_402_STABLE + database: pgsql + - php: 8.2 + moodle-branch: MOODLE_402_STABLE + database: mariadb + - php: 8.1 + moodle-branch: MOODLE_402_STABLE + database: pgsql + - php: 8.1 + moodle-branch: MOODLE_402_STABLE + database: mariadb + - php: 8.0 + moodle-branch: MOODLE_402_STABLE + database: pgsql + - php: 8.0 + moodle-branch: MOODLE_402_STABLE + database: mariadb - php: 8.1 moodle-branch: MOODLE_401_STABLE database: pgsql diff --git a/report.php b/report.php index 26e0832..c5369d2 100644 --- a/report.php +++ b/report.php @@ -61,6 +61,8 @@ class quiz_archive_report extends quiz_archive_report_parent_class_alias { protected $questions; /** @var object course module object. */ protected $cm; + /** @var object course object. */ + protected $course; /** @var object the quiz settings object. */ protected $quiz; /** @var context the quiz context. */ diff --git a/version.php b/version.php index 168836e..118296b 100644 --- a/version.php +++ b/version.php @@ -24,9 +24,9 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2023010700; +$plugin->version = 2023110800; $plugin->requires = 2017110800; $plugin->component = 'quiz_archive'; $plugin->maturity = MATURITY_STABLE; -$plugin->release = 'v4.1-r1'; -$plugin->supported = [39, 401]; +$plugin->release = 'v4.3-r1'; +$plugin->supported = [39, 403];