Skip to content

Commit 68ea6da

Browse files
committed
Ignore the semicolon rule
1 parent 7164b3c commit 68ea6da

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ install:
55
- composer install
66
- bash tests/install-tests.sh wordpress_test root '' 127.0.0.1 latest
77
script:
8-
- vendor/bin/phpcs --standard=vendor/humanmade/coding-standards .
8+
- vendor/bin/phpcs --standard=phpcs.ruleset.xml .
99
- phpunit

phpcs.ruleset.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0"?>
2+
<ruleset>
3+
<rule ref="vendor/humanmade/coding-standards" />
4+
<rule ref="Squiz.PHP.EmbeddedPhp.NoSemicolon">
5+
<severity>0</severity>
6+
</rule>
7+
</ruleset>

0 commit comments

Comments
 (0)