Skip to content

Commit

Permalink
Add Doctrine/coding-standard dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lezhnev74 committed May 10, 2019
1 parent 3b3d406 commit f2466fb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"respect/validation": "^1.1"
},
"require-dev": {
"doctrine/coding-standard": "^6.0",
"guzzlehttp/psr7": "^1.5",
"phpunit/phpunit": "^7|^8"
},
Expand Down
18 changes: 18 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<ruleset>
<arg name="basepath" value="."/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="80"/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>

<!-- Ignore warnings, show progress of the run and show sniff names -->
<arg value="nps"/>

<!-- Directories to be checked -->
<file>src</file>
<file>tests</file>

<!-- Include full Doctrine Coding Standard -->
<rule ref="Doctrine"/>
</ruleset>

0 comments on commit f2466fb

Please sign in to comment.