Skip to content

Commit 045e772

Browse files
author
agtong
committed
Exclude these directories.
1 parent 36cb29e commit 045e772

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ done
4242
if [ "$FILES" != "" ]
4343
then
4444
echo "Running Code Sniffer."
45-
docker-compose exec -T php /app/vendor/bin/phpcs --standard=PSR12 $FILES
45+
docker-compose exec -T php /app/vendor/bin/phpcs --ignore=*/tests/* --ignore=*/config/* --standard=PSR12 $FILES
4646

4747
if [ $? != 0 ]
4848
then

0 commit comments

Comments
 (0)