diff --git a/.gitignore b/.gitignore
index 01757f7a0b..98ca5434da 100644
a
|
b
|
wp-tests-config.php |
17 | 17 | /npm-debug.log |
18 | 18 | /build |
19 | 19 | /tests/phpunit/build |
| 20 | /tests/cache/phpcs.json |
20 | 21 | /wp-cli.local.yml |
21 | 22 | /jsdoc |
22 | 23 | /vendor |
diff --git a/.travis.yml b/.travis.yml
index 46b72aa055..4ed6c4748b 100644
a
|
b
|
cache: |
12 | 12 | apt: true |
13 | 13 | directories: |
14 | 14 | - $HOME/.npm |
| 15 | - tests/cache |
15 | 16 | - vendor |
16 | 17 | |
17 | 18 | env: |
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index af60e89e57..bd3a80d976 100644
a
|
b
|
|
6 | 6 | <arg name="extensions" value="php"/> |
7 | 7 | |
8 | 8 | <!-- Whenever possible, cache the scan results and re-use those for unchanged files on the next scan. --> |
9 | | <arg name="cache"/> |
| 9 | <arg name="cache" value="tests/cache/phpcs.json"/> |
10 | 10 | |
11 | 11 | <!-- Set the memory limit to 256M. |
12 | 12 | For most standard PHP configurations, this means the memory limit will temporarily be raised. |
diff --git a/tests/cache/.gitkeep b/tests/cache/.gitkeep
new file mode 100644
index 0000000000..127395ce6e
-
|
+
|
|
| 1 | Important: This directory cannot be empty. |