From bb8420f8f76252e0dbf8da25a8176837396878d3 Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Sun, 5 Oct 2025 11:06:18 +0200 Subject: [PATCH] chore: update .gitignore with cache and temporary files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add ignore patterns for: - Cache files (storage/cache/*.cache.php) - PHPStan cache (var/phpstan/cache/**) - Temporary debug output directories - Cookies and session files This prevents committing: ✅ Generated cache files ✅ PHPStan analysis cache ✅ Temporary test outputs ✅ Sensitive session data --- .gitignore | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.gitignore b/.gitignore index 011c5365..21f9b820 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,21 @@ storage/analytics/* /.ansible/ /.archive/ /x_ansible/ + +# Cache +storage/cache/*.cache.php +storage/cache/*.php +!storage/cache/.gitkeep + +# PHPStan +var/phpstan/cache/** +!var/phpstan/.gitkeep + +# Temporary debug files +scripts/debug/output/ +scripts/test/output/ +tests/tmp/ + +# Cookies and session files +cookies.txt +cookies_new.txt