moodle/repository/filesystem
Eloy Lafuente (stronk7) 9d6aa39985 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) *=.*//.*[^;\.]$')
2021-05-11 20:11:07 +02:00
..
classes MDL-64882 repository: Whitespace fix and version bump 2019-03-07 10:49:59 +08:00
db MDL-64882 repository_filesystem: convert cron to scheduled task 2019-03-01 11:12:46 +08:00
lang/en MDL-65397 lang: Import fixed English strings (en_fix) 2019-04-29 11:46:26 +02:00
pix MDL-50175 graphics: Optimized PNG images with optipng 2016-02-25 11:56:37 +00:00
tests/generator MDL-41580 SCORM: allow imsmanifest.xml to be used in file system repos 2013-09-24 12:08:38 +12:00
lib.php MDL-64882 repository_filesystem: deprecate legacy cron function 2019-03-01 11:12:55 +08:00
version.php MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00