diff --git a/.github/workflows/moodle-ci.yml b/.github/workflows/moodle-ci.yml index f793c641..5ae01946 100644 --- a/.github/workflows/moodle-ci.yml +++ b/.github/workflows/moodle-ci.yml @@ -8,8 +8,8 @@ jobs: strategy: matrix: - php: ['8.1'] - moodle-branch: ['MOODLE_402_STABLE'] + php: ['8.2'] + moodle-branch: ['MOODLE_403_STABLE'] database: ['pgsql'] steps: @@ -108,9 +108,12 @@ jobs: strategy: fail-fast: false matrix: - php: ['8.0', '8.1'] - moodle-branch: ['MOODLE_401_STABLE', 'MOODLE_402_STABLE'] + php: ['8.0', '8.1', '8.2'] + moodle-branch: ['MOODLE_401_STABLE', 'MOODLE_402_STABLE', 'MOODLE_403_STABLE'] database: ['mariadb', 'pgsql'] + exclude: + - php: '8.2' + moodle-branch: 'MOODLE_401_STABLE' include: - php: '7.4' moodle-branch: 'MOODLE_39_STABLE' diff --git a/renderable.php b/renderable.php index 96874eb4..9e5799c4 100644 --- a/renderable.php +++ b/renderable.php @@ -52,17 +52,17 @@ class ratingallocate_choice_status implements renderable { public $accesstimestop; public $accesstimestart; - public $ispublished; + public $is_published; public $publishdate; - public $availablechoices; - public $necessarychoices; - public $ownchoices; + public $available_choices; + public $necessary_choices; + public $own_choices; public $allocations; public $strategy; /** @var bool show_distribution_info specifies if the info regarding the distribution should be displayed. * */ - public $showdistributioninfo; + public $show_distribution_info; /** @var bool show_user_info specifies if the current ratings of the user shoulld be renderer. * */ - public $showuserinfo; + public $show_user_info; public $algorithmstarttime; public $algorithmstatus; }