We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e56f86a commit 0e2e647Copy full SHA for 0e2e647
tests/script.sh
@@ -70,3 +70,10 @@ if [[ ! -z "${long_lines}" ]]; then
70
echo -e "${long_lines}" | perl -pe 's/^(.*)$/Long lines found in \1/'
71
exit 1
72
fi
73
+
74
+# Prohibit @author in php files.
75
+at_author=$(find . -type "f" -iname "*.php" ! -path "*/vendor/*" -exec egrep --line-number -H "@author" {} \;)
76
+if [[ ! -z "${at_author}" ]]; then
77
+ echo -e "${at_author}" | perl -pe 's/^(.*)$/\@author found in \1/'
78
+ exit 1
79
+fi
0 commit comments