mirror of
https://github.com/moodle/moodle.git
synced 2025-08-02 07:39:54 +02:00
![]() 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) *=.*//.*[^;\.]$') |
||
---|---|---|
.. | ||
classes/privacy | ||
db | ||
lang/en | ||
pix | ||
tests/generator | ||
lib.php | ||
version.php |