Skip to content

Commit 5db98a5

Browse files
committed
Add CS check to travis.
1 parent d739a69 commit 5db98a5

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
language: php
22

33
git:
4-
strategy: clone
54
depth: 1
6-
quiet: true
75

86
dist: bionic
97

@@ -488,6 +486,7 @@ jobs:
488486
- composer install --prefer-dist --no-interaction
489487
script:
490488
- composer stan
489+
- composer cs-check
491490

492491
allow_failures:
493492
- php: nightly

config/phpcs.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
<rule ref="SlevomatCodingStandard.Classes.UnusedPrivateElements">
2424
<severity>0</severity>
2525
</rule>
26+
<rule ref="Generic.PHP.NoSilencedErrors">
27+
<severity>0</severity>
28+
</rule>
29+
<rule ref="Squiz.PHP.Eval">
30+
<severity>0</severity>
31+
</rule>
32+
<rule ref="PSR1.Methods.CamelCapsMethodName">
33+
<severity>0</severity>
34+
</rule>
2635

2736
<rule ref="Spryker.Commenting.DocBlockReturnSelf">
2837
<severity>0</severity>

0 commit comments

Comments
 (0)