moodle/repository/upload
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-61568 repository_upload: Implement null privacy provider 2018-04-17 10:26:49 +08:00
db MDL-30964 fix phpdocs in access.php files in all plugins 2012-02-27 07:23:10 +01:00
lang/en MDL-61568 repository_upload: Implement null privacy provider 2018-04-17 10:26:49 +08:00
pix MDL-50175 graphics: Optimized PNG images with optipng 2016-02-25 11:56:37 +00:00
tests MDL-64554 user: make private files editor modal/ajax form 2021-02-17 18:06:57 +01:00
lib.php MDL-69028 repository: Put a rate limit on draft file uploads 2021-05-04 17:23:11 +02:00
version.php MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00