moodle/admin/tool/phpunit
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-61858 tool_phpunit: added missing privacy null provider 2018-05-11 19:37:48 +08:00
cli MDL-68705 testing: New CLI args to disable composer features 2020-08-20 20:12:54 +02:00
lang/en MDL-61892 admin/tools: Implement null privacy providers 2018-04-20 11:41:20 +08:00
index.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
settings.php MDL-67726 tool_phpunit: Removed webrunner tool 2020-02-07 08:08:48 +08:00
upgrade.txt MDL-67726 tool_phpunit: Removed webrunner tool 2020-02-07 08:08:48 +08:00
version.php MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00