From ccbb01c9ecf10dfd24adde2a474c53f666653b83 Mon Sep 17 00:00:00 2001 From: Gustavo Freze Date: Tue, 21 Apr 2026 18:51:29 -0300 Subject: [PATCH] chore: Add .gitignore and .gitattributes for repo hygiene. Prevent agent/IDE folders (.claude, .idea, .vscode) from being versioned and exclude dev-only files (tests, phpstan, phpcs, phpunit configs) from the Packagist tarball via export-ignore. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index d641a25..744a43b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,10 +9,14 @@ /.editorconfig export-ignore /.gitattributes export-ignore /.gitignore export-ignore +/phpunit.xml export-ignore /phpunit.xml.dist export-ignore +/phpstan.neon export-ignore /phpstan.neon.dist export-ignore +/phpcs.xml export-ignore /phpcs.xml.dist export-ignore /infection.json export-ignore +/infection.json.dist export-ignore /Makefile export-ignore /CONTRIBUTING.md export-ignore /CHANGES.md export-ignore