We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 048d78c commit c4eda17Copy full SHA for c4eda17
.github/workflows/ci.yml
@@ -27,7 +27,7 @@ jobs:
27
run: composer install
28
29
- name: Lint
30
- run: ./vendor/bin/phpcs --extensions=php --standard=PSR12 src/ tests/
+ run: ./vendor/bin/phpcs --standard=phpcs.xml src/ tests/
31
32
- name: PHPMD
33
run: ./vendor/bin/phpmd . text phpmd.xml --exclude vendor
phpcs.xml
@@ -0,0 +1,9 @@
1
+<?xml version="1.0"?>
2
+<ruleset name="PSR12-FOO">
3
+ <description>The PSR12 standard.</description>
4
+ <exclude-pattern>/vendor/</exclude-pattern>
5
+ <arg name="extensions" value="php" />
6
+
7
+ <!-- Include the whole PSR12 standard -->
8
+ <rule ref="PSR12"/>
9
+</ruleset>
0 commit comments