From 8d85944bfbf1349e4ddd59a3c8e5c4a4e5189941 Mon Sep 17 00:00:00 2001 From: "lina.wolf" Date: Sat, 28 Oct 2023 10:18:05 +0200 Subject: [PATCH] [TASK] Move Cacge of development tools into /.cache This way all caches can be deleted with deleting .cache, also it is more tidy and we have less files lying around in the main directory --- .gitignore | 5 +---- Makefile | 2 +- phpstan.neon | 2 +- phpunit.xml.dist | 2 +- psalm.xml | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 2201fb302..ed5e9da53 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,4 @@ /vendor/ -/.build -.phpunit.cache -.deptrac.cache -/.psalm +/.cache /**/temp /output/ diff --git a/Makefile b/Makefile index 3d1154bf8..adbb01c10 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ cleanup-cache: .PHONY: test-architecture test-architecture: vendor ## Runs deptrac to enfore architecural rules - $(PHP_BIN) ./vendor/bin/deptrac --config-file deptrac.packages.yaml + $(PHP_BIN) ./vendor/bin/deptrac --config-file deptrac.packages.yaml --cache-file=.cache/.deptrac.cache vendor: composer.json composer.lock composer validate --no-check-publish diff --git a/phpstan.neon b/phpstan.neon index 4a0684c1e..c9c89fbbd 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -44,4 +44,4 @@ parameters: # - packages/guides-markdown/tests - packages/guides-restructured-text/tests - tmpDir: .build/phpstan/ + tmpDir: .cache/phpstan/ diff --git a/phpunit.xml.dist b/phpunit.xml.dist index cfd6390cc..a249e76f7 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -13,7 +13,7 @@ displayDetailsOnTestsThatTriggerNotices="true" displayDetailsOnTestsThatTriggerWarnings="true" displayDetailsOnTestsThatTriggerErrors="true" - cacheDirectory=".phpunit.cache" + cacheDirectory=".cache/.phpunit.cache" requireCoverageMetadata="false" > diff --git a/psalm.xml b/psalm.xml index fe1df8610..bbf333419 100644 --- a/psalm.xml +++ b/psalm.xml @@ -2,7 +2,7 @@