We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46168ab commit 0e249b9Copy full SHA for 0e249b9
composer.json
@@ -25,5 +25,11 @@
25
"require-dev": {
26
"phpunit/phpunit": "^6.5",
27
"squizlabs/php_codesniffer": "^3"
28
+ },
29
+ "scripts": {
30
+ "test": [
31
+ "phpunit",
32
+ "phpcs"
33
+ ]
34
}
35
phpcs.xml
@@ -0,0 +1,17 @@
1
+<?xml version="1.0"?>
2
+<ruleset name="Rakit validation coding standard">
3
+ <description>Rakit validation coding standard</description>
4
+
5
+ <!-- display progress -->
6
+ <arg value="p"/>
7
+ <!-- use colors in output -->
8
+ <arg name="colors"/>
9
10
+ <!-- inherit rules from: -->
11
+ <rule ref="PSR2"/>
12
+ <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
13
14
+ <!-- Paths to check -->
15
+ <file>src</file>
16
+ <file>tests</file>
17
+</ruleset>
0 commit comments