From edf601b33c5180d0f5fa09a3e947c07237b59225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 6 Nov 2024 09:57:52 +0100 Subject: [PATCH] MOBILE-4694 behat: Fix PHP 7.4 compatibility for LMS 4.1 --- local_moodleappbehat/tests/behat/behat_app_helper.php | 2 +- local_moodleappbehat/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/local_moodleappbehat/tests/behat/behat_app_helper.php b/local_moodleappbehat/tests/behat/behat_app_helper.php index 7427a8937..4621b6a03 100644 --- a/local_moodleappbehat/tests/behat/behat_app_helper.php +++ b/local_moodleappbehat/tests/behat/behat_app_helper.php @@ -740,7 +740,7 @@ EOF; * @param string $text * @return string|string[] Transformed text. */ - protected function transform_time_to_string(string $text): string|array { + protected function transform_time_to_string(string $text) { if (!preg_match('/##(.*)##/', $text, $matches)) { // No time found, return the original text. return $text; diff --git a/local_moodleappbehat/version.php b/local_moodleappbehat/version.php index 5b031ba5c..21b87fda2 100644 --- a/local_moodleappbehat/version.php +++ b/local_moodleappbehat/version.php @@ -7,7 +7,7 @@ defined('MOODLE_INTERNAL') || die; $plugin->version = {{ pluginVersion }}; -$plugin->requires = 2016052300; +$plugin->requires = 2018051700; $plugin->maturity = MATURITY_STABLE; $plugin->release = '{{ appVersion }}'; $plugin->component = 'local_moodleappbehat';