Skip to content

Commit e2baf94

Browse files
committed
Configure cache for PHP Code Sniffer
1 parent 7baaad1 commit e2baf94

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*.php text eol=lf
22

33
tests export-ignore
4+
tmp export-ignore
45
.coveralls.yml export-ignore
56
.gitattributes export-ignore
67
.gitignore export-ignore

phpcs.xml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<arg name="extensions" value="php"/>
55
<arg name="encoding" value="utf-8"/>
66
<arg name="tab-width" value="4"/>
7+
<arg name="cache" value="tmp/cache/phpcs"/>
78
<arg value="sp"/>
89
<file>src</file>
910
<file>tests</file>

tmp/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!/cache
3+
!.*

tmp/cache/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.*

0 commit comments

Comments
 (0)