aboutsummaryrefslogtreecommitdiffstats
path: root/travis
diff options
context:
space:
mode:
authorAlfredo Ramos <alfredo.ramos.sanchez@gmail.com>2019-11-28 21:19:33 -0600
committerAlfredo Ramos <alfredo.ramos.sanchez@gmail.com>2019-11-28 21:19:33 -0600
commit3089770fece7a4b6106ec91169d9e02465e778bc (patch)
tree9f77395e802592b13e02486b2819481f2cf16b4a /travis
parent79a6648b99bc570dd9705547a35e21df808a6657 (diff)
downloadforums-3089770fece7a4b6106ec91169d9e02465e778bc.tar
forums-3089770fece7a4b6106ec91169d9e02465e778bc.tar.gz
forums-3089770fece7a4b6106ec91169d9e02465e778bc.tar.bz2
forums-3089770fece7a4b6106ec91169d9e02465e778bc.tar.xz
forums-3089770fece7a4b6106ec91169d9e02465e778bc.zip
[ticket/16235] Fix PHP CodeSniffer ignore patterns
PHPBB3-16235
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/ext-sniff.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/travis/ext-sniff.sh b/travis/ext-sniff.sh
index ca4d2115ba..f346ba6c25 100755
--- a/travis/ext-sniff.sh
+++ b/travis/ext-sniff.sh
@@ -22,7 +22,6 @@ then
-s \
--extensions=php \
--standard=build/code_sniffer/ruleset-php-extensions.xml \
- "--ignore=phpBB/ext/$EXTNAME/tests/*" \
- "--ignore=phpBB/ext/$EXTNAME/vendor/*" \
- "phpBB/ext/$EXTNAME"
+ --ignore=*/"$EXTNAME"/tests/*,*/"$EXTNAME"/vendor/* \
+ phpBB/ext/"$EXTNAME"
fi