We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0847442 commit d508edcCopy full SHA for d508edc
1 file changed
run-codesniffer
@@ -61,7 +61,10 @@ else
61
COVERAGE="--report-full --report-summary"
62
fi
63
64
-$PHPCS -p --extensions=php --standard=CakePHP ${COVERAGE} ${SNIFF_FOLDERS[@]}
+# @TODO: Detect which to use. Ours should be a dependency of the shell-scripts so it's always available though.
65
+CODE_STANDARD=CakePHP
66
+CODE_STANDARD=Vendor/loadsys/loadsys_codesniffer/Loadsys
67
+$PHPCS -p --extensions=php --standard="$CODE_STANDARD" ${COVERAGE} ${SNIFF_FOLDERS[@]}
68
69
if [ $SAVE_REPORTS ] && [ $? -eq 0 ]; then
70
echo "## Full report created at: ${FULL_REPORT_FILE}"
0 commit comments