Do use a temp file for PHPCS cache file

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2020-06-13 14:48:00 -03:00
parent a4570d071e
commit 50c9aa6017
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -39,6 +39,7 @@ web.config
revision-info.php
# PHP_CodeSniffer
phpcs.xml
.phpcs-cache
# PHPUnit
phpunit.xml
/test/bootstrap.php

View File

@ -3,7 +3,7 @@
<!-- Show progress and sniff codes -->
<arg value="ps"/>
<arg name="cache"/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>