moodle/enrol/database
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-59986 enrol: database sync as scheduled task 2019-01-17 15:33:11 -02:00
db MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps 2021-01-13 19:11:19 +01:00
lang/en MDL-59986 enrol: database sync as scheduled task 2019-01-17 15:33:11 -02:00
tests MDL-65558 enrol_database: use , as port separator 2019-05-10 12:24:05 +08:00
lib.php MDL-61265 enrol: Add default numsections for external db 2018-03-16 11:32:09 +01:00
settings.php MDL-63683 enrol: Fix plugin settings when no role has student archetype 2020-12-04 09:09:37 +01:00
upgrade.txt MDL-63266 core: Final deprecation enrol/cli/sync.php 2020-11-16 23:11:17 +08:00
version.php MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00