File tree Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 22.github export-ignore
33.gitattributes export-ignore
44.gitignore export-ignore
5+ .editorconfig export-ignore
6+ phpcs.xml.dist export-ignore
57phpstan.neon.dist export-ignore
68phpstan-baseline.neon export-ignore
Original file line number Diff line number Diff line change 3232 }
3333 ],
3434 "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 "
3939 },
4040 "require" : {
4141 "php" : " ^7.1 || ^8.0" ,
4444 },
4545 "require-dev" : {
4646 "phpunit/phpunit" : " ^7 || ^8 || ^9" ,
47- "phpstan/phpstan" : " ^0.12"
47+ "phpstan/phpstan" : " ^0.12" ,
48+ "wdes/coding-standard" : " ^3.0"
4849 },
4950 "autoload" : {
5051 "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