MDL-79551 versions: Make CiBoT happy
* Use array short syntax for $plugin->dependencies * Add trailing comma for multi-line $plugin->dependencies array
This commit is contained in:
@@ -28,5 +28,5 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'tool_lpimportcsv'; // Full name of the plugin (used for diagnostics).
|
||||
$plugin->dependencies = array('tool_lp' => 2023100400);
|
||||
$plugin->dependencies = ['tool_lp' => 2023100400];
|
||||
|
||||
|
||||
@@ -27,6 +27,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'tool_lpmigrate'; // Full name of the plugin (used for diagnostics).
|
||||
$plugin->dependencies = array(
|
||||
'tool_lp' => ANY_VERSION
|
||||
);
|
||||
$plugin->dependencies = [
|
||||
'tool_lp' => ANY_VERSION,
|
||||
];
|
||||
|
||||
@@ -26,6 +26,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'tool_mobile'; // Full name of the plugin (used for diagnostics).
|
||||
$plugin->dependencies = array(
|
||||
'webservice_rest' => 2023100400
|
||||
);
|
||||
$plugin->dependencies = [
|
||||
'webservice_rest' => 2023100400,
|
||||
];
|
||||
|
||||
@@ -30,4 +30,4 @@ $plugin->version = 2023100900; // The current plugin version (Date: YYY
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'auth_cas'; // Full name of the plugin (used for diagnostics)
|
||||
|
||||
$plugin->dependencies = array('auth_ldap' => 2023100400);
|
||||
$plugin->dependencies = ['auth_ldap' => 2023100400];
|
||||
|
||||
@@ -28,6 +28,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->component = 'block_accessreview';
|
||||
$plugin->version = 2023100900;
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'tool_brickfield' => ANY_VERSION,
|
||||
);
|
||||
];
|
||||
|
||||
@@ -28,4 +28,4 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'block_completionstatus';
|
||||
$plugin->dependencies = array('report_completion' => 2023100400);
|
||||
$plugin->dependencies = ['report_completion' => 2023100400];
|
||||
|
||||
@@ -28,4 +28,4 @@ $plugin->version = 2023100900; // The current plugin version (Date: YYY
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'block_feedback'; // Full name of the plugin (used for diagnostics)
|
||||
|
||||
$plugin->dependencies = array('mod_feedback' => 2023100400);
|
||||
$plugin->dependencies = ['mod_feedback' => 2023100400];
|
||||
|
||||
@@ -28,4 +28,4 @@ $plugin->version = 2023100900; // The current plugin version (Date: YYY
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'block_glossary_random'; // Full name of the plugin (used for diagnostics)
|
||||
|
||||
$plugin->dependencies = array('mod_glossary' => 2023100400);
|
||||
$plugin->dependencies = ['mod_glossary' => 2023100400];
|
||||
|
||||
@@ -27,6 +27,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900;
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->component = 'block_lp';
|
||||
$plugin->dependencies = array(
|
||||
'tool_lp' => ANY_VERSION
|
||||
);
|
||||
$plugin->dependencies = [
|
||||
'tool_lp' => ANY_VERSION,
|
||||
];
|
||||
|
||||
@@ -27,4 +27,4 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'block_news_items'; // Full name of the plugin (used for diagnostics)
|
||||
$plugin->dependencies = array('mod_forum' => 2023100400);
|
||||
$plugin->dependencies = ['mod_forum' => 2023100400];
|
||||
|
||||
@@ -28,4 +28,4 @@ $plugin->version = 2023100900; // The current plugin version (Date: YYY
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'block_search_forums'; // Full name of the plugin (used for diagnostics)
|
||||
|
||||
$plugin->dependencies = array('mod_forum' => 2023100400);
|
||||
$plugin->dependencies = ['mod_forum' => 2023100400];
|
||||
|
||||
@@ -29,4 +29,4 @@ $plugin->version = 2023100900;
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component= 'filter_data';
|
||||
|
||||
$plugin->dependencies = array('mod_data' => 2023100400);
|
||||
$plugin->dependencies = ['mod_data' => 2023100400];
|
||||
|
||||
@@ -29,4 +29,4 @@ $plugin->version = 2023100900;
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component= 'filter_glossary';
|
||||
|
||||
$plugin->dependencies = array('mod_glossary' => 2023100400);
|
||||
$plugin->dependencies = ['mod_glossary' => 2023100400];
|
||||
|
||||
@@ -27,4 +27,4 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'gradeimport_direct'; // Full name of the plugin (used for diagnostics).
|
||||
$plugin->dependencies = array('gradeimport_csv' => 2023100400); // Grade import csv is required for this plugin.
|
||||
$plugin->dependencies = ['gradeimport_csv' => 2023100400]; // Grade import csv is required for this plugin.
|
||||
|
||||
@@ -30,6 +30,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900;
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->component = 'ltiservice_toolproxy';
|
||||
$plugin->dependencies = array(
|
||||
'ltiservice_profile' => 2023100400
|
||||
);
|
||||
$plugin->dependencies = [
|
||||
'ltiservice_profile' => 2023100400,
|
||||
];
|
||||
|
||||
@@ -30,7 +30,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900;
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->component = 'ltiservice_toolsettings';
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'ltiservice_profile' => 2023100400,
|
||||
'ltiservice_toolproxy' => 2023100400
|
||||
);
|
||||
'ltiservice_toolproxy' => 2023100400,
|
||||
];
|
||||
|
||||
@@ -29,7 +29,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->component = 'workshopallocation_scheduled';
|
||||
$plugin->version = 2023100900;
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'workshopallocation_random' => 2023100400,
|
||||
);
|
||||
];
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -29,8 +29,8 @@ $plugin->component = 'qbehaviour_adaptivenopenalty';
|
||||
$plugin->version = 2023100900;
|
||||
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
'qbehaviour_adaptive' => 2023100400
|
||||
);
|
||||
$plugin->dependencies = [
|
||||
'qbehaviour_adaptive' => 2023100400,
|
||||
];
|
||||
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -29,8 +29,8 @@ $plugin->component = 'qbehaviour_deferredcbm';
|
||||
$plugin->version = 2023100900;
|
||||
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
'qbehaviour_deferredfeedback' => 2023100400
|
||||
);
|
||||
$plugin->dependencies = [
|
||||
'qbehaviour_deferredfeedback' => 2023100400,
|
||||
];
|
||||
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -29,9 +29,9 @@ $plugin->component = 'qbehaviour_immediatecbm';
|
||||
$plugin->version = 2023100900;
|
||||
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'qbehaviour_immediatefeedback' => 2023100400,
|
||||
'qbehaviour_deferredcbm' => 2023100400
|
||||
);
|
||||
'qbehaviour_deferredcbm' => 2023100400,
|
||||
];
|
||||
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -29,8 +29,8 @@ $plugin->component = 'qbehaviour_interactivecountback';
|
||||
$plugin->version = 2023100900;
|
||||
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
'qbehaviour_interactive' => 2023100400
|
||||
);
|
||||
$plugin->dependencies = [
|
||||
'qbehaviour_interactive' => 2023100400,
|
||||
];
|
||||
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -29,8 +29,8 @@ $plugin->component = 'qtype_calculated';
|
||||
$plugin->version = 2023100900;
|
||||
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'qtype_numerical' => 2023100400,
|
||||
);
|
||||
];
|
||||
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -29,10 +29,10 @@ $plugin->component = 'qtype_calculatedmulti';
|
||||
$plugin->version = 2023100900;
|
||||
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'qtype_numerical' => 2023100400,
|
||||
'qtype_calculated' => 2023100400,
|
||||
'qtype_multichoice' => 2023100400,
|
||||
);
|
||||
];
|
||||
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -29,9 +29,9 @@ $plugin->component = 'qtype_calculatedsimple';
|
||||
$plugin->version = 2023100900;
|
||||
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'qtype_numerical' => 2023100400,
|
||||
'qtype_calculated' => 2023100400,
|
||||
);
|
||||
];
|
||||
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -30,6 +30,6 @@ $plugin->requires = 2023100400;
|
||||
$plugin->component = 'qtype_ddimageortext';
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'qtype_gapselect' => 2023100400,
|
||||
);
|
||||
];
|
||||
|
||||
@@ -30,7 +30,7 @@ $plugin->requires = 2023100400;
|
||||
$plugin->component = 'qtype_ddmarker';
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'qtype_gapselect' => 2023100400,
|
||||
'qtype_ddimageortext' => 2023100400,
|
||||
);
|
||||
];
|
||||
|
||||
@@ -30,6 +30,6 @@ $plugin->requires = 2023100400;
|
||||
$plugin->component = 'qtype_ddwtos';
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'qtype_gapselect' => 2023100400,
|
||||
);
|
||||
];
|
||||
|
||||
@@ -29,10 +29,10 @@ $plugin->component = 'qtype_multianswer';
|
||||
$plugin->version = 2023100900;
|
||||
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'qtype_multichoice' => 2023100400,
|
||||
'qtype_numerical' => 2023100400,
|
||||
'qtype_shortanswer' => 2023100400,
|
||||
);
|
||||
];
|
||||
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -29,9 +29,9 @@ $plugin->requires = 2023100400;
|
||||
|
||||
$plugin->component = 'qtype_randomsamatch';
|
||||
|
||||
$plugin->dependencies = array(
|
||||
$plugin->dependencies = [
|
||||
'qtype_match' => 2023100400,
|
||||
'qtype_shortanswer' => 2023100400,
|
||||
);
|
||||
];
|
||||
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
|
||||
@@ -28,6 +28,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2023100400; // Requires this Moodle version.
|
||||
$plugin->component = 'report_competency'; // Full name of the plugin (used for diagnostics).
|
||||
$plugin->dependencies = array(
|
||||
'tool_lp' => ANY_VERSION
|
||||
);
|
||||
$plugin->dependencies = [
|
||||
'tool_lp' => ANY_VERSION,
|
||||
];
|
||||
|
||||
@@ -28,4 +28,4 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2023100900;
|
||||
$plugin->requires = 2023100400;
|
||||
$plugin->component = 'theme_classic';
|
||||
$plugin->dependencies = array('theme_boost' => 2023100400);
|
||||
$plugin->dependencies = ['theme_boost' => 2023100400];
|
||||
|
||||
Reference in New Issue
Block a user