MOBILE-4694 behat: Fix PHP 7.4 compatibility for LMS 4.1
parent
d0a89e0424
commit
edf601b33c
|
@ -740,7 +740,7 @@ EOF;
|
||||||
* @param string $text
|
* @param string $text
|
||||||
* @return string|string[] Transformed 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)) {
|
if (!preg_match('/##(.*)##/', $text, $matches)) {
|
||||||
// No time found, return the original text.
|
// No time found, return the original text.
|
||||||
return $text;
|
return $text;
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
defined('MOODLE_INTERNAL') || die;
|
defined('MOODLE_INTERNAL') || die;
|
||||||
|
|
||||||
$plugin->version = {{ pluginVersion }};
|
$plugin->version = {{ pluginVersion }};
|
||||||
$plugin->requires = 2016052300;
|
$plugin->requires = 2018051700;
|
||||||
$plugin->maturity = MATURITY_STABLE;
|
$plugin->maturity = MATURITY_STABLE;
|
||||||
$plugin->release = '{{ appVersion }}';
|
$plugin->release = '{{ appVersion }}';
|
||||||
$plugin->component = 'local_moodleappbehat';
|
$plugin->component = 'local_moodleappbehat';
|
||||||
|
|
Loading…
Reference in New Issue