Skip to content

Commit

Permalink
Confirm compatibility with Moodle 4.5 and PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusgreen committed Oct 12, 2024
1 parent 73d7137 commit ecb6b10
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# - php: '8.2'
# moodle-branch: 'MOODLE_402_STABLE'
# database: 'mariadb'
- php: '8.2'
- php: '8.3'
moodle-branch: 'main'
database: 'pgsql'
steps:
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Version 2.141 of the Moodle Gapfill question type October 2024
PHP 8.3 compatibility fix. It was throwing an undeclared variables error
Thanks to to Alistair Spark for reporting the issue here
https://github.com/marcusgreen/moodle-qtype_gapfill/issues/113
Confirmation of compatibility with Moodle 4.5

### Version 2.139 of the Moodle Gapfill question type April 2024
Fixes for PHP 8.2 deprecation messages. Updates to ci to confirm compatibility
with Moodle 4.4.
Expand Down
57 changes: 29 additions & 28 deletions version.php
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
<?PHP
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
<?PHP
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Version information. When a new version is released the version is incremented
*
* @package qtype_gapfill
* @copyright 2024 Marcus Green
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
/**
* Version information. When a new version is released the version is incremented
*
* @package qtype_gapfill
* @copyright 2024 Marcus Green
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

defined('MOODLE_INTERNAL') || die();
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'qtype_gapfill';
$plugin->version = 2024042300;
$plugin->requires = 2022040100; // Moodle 4.0.
$plugin->release = '2.140';
$plugin->maturity = MATURITY_STABLE;
$plugin->component = 'qtype_gapfill';
$plugin->version = 2024101200;
$plugin->requires = 2022040100; // Moodle 4.0.
$plugin->release = '2.141';
$plugin->supported = [401, 405];
$plugin->maturity = MATURITY_STABLE;

0 comments on commit ecb6b10

Please sign in to comment.