Skip to content

Commit

Permalink
Configure cache for PHP Code Sniffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed May 13, 2021
1 parent 09bc0fc commit a9544f8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.php text eol=lf

tests export-ignore
tmp export-ignore
.coveralls.yml export-ignore
.gitattributes export-ignore
.gitignore export-ignore
Expand Down
1 change: 1 addition & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<arg name="extensions" value="php"/>
<arg name="encoding" value="utf-8"/>
<arg name="tab-width" value="4"/>
<arg name="cache" value="tmp/cache/phpcs"/>
<arg value="sp"/>
<file>src</file>
<file>tests</file>
Expand Down
3 changes: 3 additions & 0 deletions tmp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!/cache
!.*
2 changes: 2 additions & 0 deletions tmp/cache/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.*

0 comments on commit a9544f8

Please sign in to comment.