Skip to content

Commit ceac463

Browse files
committed
Use phpcs.xml for GrumPHP, exclude tests directory
1 parent 6052d8a commit ceac463

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

grumphp.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
grumphp:
22
tasks:
33
composer: []
4-
phpcs:
5-
standard: 'PSR2'
6-
encoding: utf-8
4+
phpcs: ~
75
phpstan:
86
configuration: phpstan.neon
97
phpparser:

phpcs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0"?>
22
<ruleset>
3+
<exclude-pattern>tests/</exclude-pattern>
34
<rule ref="PSR1"/>
45
<rule ref="PSR2"/>
56
</ruleset>

src/ExampleClass.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)