From e2baf9420e792fe144e347f046e606108776996e Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Thu, 13 May 2021 08:07:19 +0200 Subject: [PATCH] Configure cache for PHP Code Sniffer --- .gitattributes | 1 + phpcs.xml | 1 + tmp/.gitignore | 3 +++ tmp/cache/.gitignore | 2 ++ 4 files changed, 7 insertions(+) create mode 100644 tmp/.gitignore create mode 100644 tmp/cache/.gitignore diff --git a/.gitattributes b/.gitattributes index ddec4305..17405d6e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,7 @@ *.php text eol=lf tests export-ignore +tmp export-ignore .coveralls.yml export-ignore .gitattributes export-ignore .gitignore export-ignore diff --git a/phpcs.xml b/phpcs.xml index dc5c7743..2807efec 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -4,6 +4,7 @@ + src tests diff --git a/tmp/.gitignore b/tmp/.gitignore new file mode 100644 index 00000000..a8d33a71 --- /dev/null +++ b/tmp/.gitignore @@ -0,0 +1,3 @@ +* +!/cache +!.* diff --git a/tmp/cache/.gitignore b/tmp/cache/.gitignore new file mode 100644 index 00000000..125e3429 --- /dev/null +++ b/tmp/cache/.gitignore @@ -0,0 +1,2 @@ +* +!.*