File tree 3 files changed +31
-5
lines changed 3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 2
2
.github export-ignore
3
3
.gitattributes export-ignore
4
4
.gitignore export-ignore
5
+ .editorconfig export-ignore
6
+ phpcs.xml.dist export-ignore
5
7
phpstan.neon.dist export-ignore
6
8
phpstan-baseline.neon export-ignore
Original file line number Diff line number Diff line change 32
32
}
33
33
],
34
34
"scripts" : {
35
- "test" : " phpunit" ,
36
- "phpstan" : " phpstan analyse " ,
37
- "phpcs" : " echo 'Not implemented for now'; " ,
38
- "phpcbf" : " echo 'Not implemented for now'; "
35
+ "test" : " ./vendor/bin/ phpunit" ,
36
+ "phpstan" : " ./vendor/bin/ phpstan" ,
37
+ "phpcs" : " ./vendor/bin/phpcs " ,
38
+ "phpcbf" : " ./vendor/bin/phpcbf "
39
39
},
40
40
"require" : {
41
41
"php" : " ^7.1 || ^8.0" ,
44
44
},
45
45
"require-dev" : {
46
46
"phpunit/phpunit" : " ^7 || ^8 || ^9" ,
47
- "phpstan/phpstan" : " ^0.12"
47
+ "phpstan/phpstan" : " ^0.12" ,
48
+ "wdes/coding-standard" : " ^3.0"
48
49
},
49
50
"autoload" : {
50
51
"psr-4" : {
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <ruleset xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" vendor/squizlabs/php_codesniffer/phpcs.xsd" >
3
+
4
+ <!-- Show progress and sniff codes -->
5
+ <arg value =" ps" />
6
+ <arg name =" colors" />
7
+ <!-- Make sniff report relative -->
8
+ <arg name =" basepath" value =" ." />
9
+
10
+ <file >.</file >
11
+ <exclude-pattern >*/tmp/*</exclude-pattern >
12
+ <exclude-pattern >*/vendor/*</exclude-pattern >
13
+ <exclude-pattern >*/build/*</exclude-pattern >
14
+
15
+ <rule ref =" Wdes" >
16
+ </rule >
17
+ <rule ref =" Generic.Files.LineLength.TooLong" >
18
+ <severity >0</severity >
19
+ </rule >
20
+ <rule ref =" Generic.PHP.NoSilencedErrors.Discouraged" >
21
+ <severity >0</severity >
22
+ </rule >
23
+ </ruleset >
You can’t perform that action at this time.
0 commit comments