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 8b28375 commit aa51a60Copy full SHA for aa51a60
composer.json
@@ -42,5 +42,8 @@
42
"require": {
43
"php": ">=7.2",
44
"ext-curl": "*"
45
+ },
46
+ "scripts": {
47
+ "phpcs": "phpcs --standard=phpcs.xml"
48
}
-}
49
+}
phpcs.xml
@@ -0,0 +1,10 @@
1
+<?xml version="1.0"?>
2
+<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
3
+ <description>PSR12</description>
4
+ <rule ref="PSR12"/>
5
+ <file>.</file>
6
+ <exclude-pattern>/vendor/*</exclude-pattern>
7
+ <exclude-pattern>/example/*</exclude-pattern>
8
+ <exclude-pattern>*.js</exclude-pattern>
9
+ <exclude-pattern>*.css</exclude-pattern>
10
+</ruleset>
0 commit comments