Skip to content

Commit db2273f

Browse files
authored
Setup phpcs cache (#75)
* Setup phpcs cache * Reuse /tmp/cache dir instead of .phpcs-cache file
1 parent b478b96 commit db2273f

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/vendor/
22
/composer.lock
3-
/tmp/
43
/tests/tmp/

phpcs.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0"?>
22
<ruleset name="PepakrizPHPStanExceptionRules">
3+
<arg name="cache" value="tmp/cache/phpcs.json"/>
4+
35
<config name="installed_paths" value="../../slevomat/coding-standard,../../cdn77/coding-standard"/>
46

57
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>

tmp/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!/.gitignore
3+
!/cache

tmp/cache/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!/.gitignore

0 commit comments

Comments
 (0)