mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-71583 versions: Add all the missing full-stops to version/requires
It seems that the new phpcs3 checker is now controlling those line comments that previously were ignored. This commit just looks for all the cases and bulk-add them when needed. The bash script (mac) used to add all them is: while read -r line; do arr=(${line//:/ }) if [[ -n ${arr[0]} ]] && [[ -n ${arr[1]} ]]; then echo " file ${arr[0]}, line ${arr[1]}" sed -i "${arr[1]}s/\$/\./" ${arr[0]} fi done < <(find . -name version.php | xargs ag --nomultiline '>(version|requires) *=.*//.*[^;\.]$')
This commit is contained in:
parent
ab8275f28f
commit
0524a0b9f9
189 changed files with 367 additions and 367 deletions
4
cache/locks/file/version.php
vendored
4
cache/locks/file/version.php
vendored
|
@ -25,6 +25,6 @@
|
|||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2021051700; // The current plugin version (Date: YYYYMMDDXX)
|
||||
$plugin->requires = 2021051100; // Requires this Moodle version
|
||||
$plugin->version = 2021051700; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2021051100; // Requires this Moodle version.
|
||||
$plugin->component = 'cachelock_file'; // Full name of the plugin (used for diagnostics)
|
||||
|
|
2
cache/stores/file/version.php
vendored
2
cache/stores/file/version.php
vendored
|
@ -27,6 +27,6 @@
|
|||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX)
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2021051100; // Requires this Moodle version.
|
||||
$plugin->component = 'cachestore_file'; // Full name of the plugin.
|
2
cache/stores/memcached/version.php
vendored
2
cache/stores/memcached/version.php
vendored
|
@ -26,6 +26,6 @@
|
|||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX)
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2021051100; // Requires this Moodle version.
|
||||
$plugin->component = 'cachestore_memcached'; // Full name of the plugin.
|
2
cache/stores/mongodb/version.php
vendored
2
cache/stores/mongodb/version.php
vendored
|
@ -24,6 +24,6 @@
|
|||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX)
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2021051100; // Requires this Moodle version.
|
||||
$plugin->component = 'cachestore_mongodb'; // Full name of the plugin.
|
2
cache/stores/session/version.php
vendored
2
cache/stores/session/version.php
vendored
|
@ -27,6 +27,6 @@
|
|||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX)
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2021051100; // Requires this Moodle version.
|
||||
$plugin->component = 'cachestore_session'; // Full name of the plugin.
|
2
cache/stores/static/version.php
vendored
2
cache/stores/static/version.php
vendored
|
@ -27,6 +27,6 @@
|
|||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX)
|
||||
$plugin->version = 2021051700; // The current module version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2021051100; // Requires this Moodle version.
|
||||
$plugin->component = 'cachestore_static'; // Full name of the plugin.
|
Loading…
Add table
Add a link
Reference in a new issue