moodle/lib/editor/textarea
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/privacy MDL-61819 editor: Implement editor null providers 2018-04-16 21:54:49 +08:00
lang/en MDL-62181 lang: Merge English strings from the en_fix language pack 2018-04-24 22:05:30 +02:00
tests/behat MDL-70167 behat: Boolean attributes should either exist or not 2020-11-23 11:02:36 +08:00
lib.php NOBUG: Fixed file access permissions 2018-07-26 19:56:32 +02:00
version.php MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00