From 61282765038fa52ed0404a5aa4a4cdf7c4f3f312 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Wed, 20 May 2026 14:28:20 +0200 Subject: [PATCH] Update .gitattributes to exclude dev files from composer dist This avoids shipping dev/tooling files in the composer dist that aren't needed at runtime. Last `.gitattributes` update was 0ee6870 (2022-07-27, #144). ### Stale entries to remove These `export-ignore` rules point to files that no longer exist upstream: - `/.scrutinizer.yml export-ignore` - file removed (Scrutinizer no longer used). - `/.travis.yml export-ignore` - Travis CI config no longer exists upstream (project migrated to GitHub Actions). `.github/` is already excluded. - `/stubs export-ignore` - directory no longer exists upstream. ### Entry to add - `/benchmarks/ export-ignore` - last touched in 07e8698 (2019-09-09). Still shipped in the composer dist. Background reading: https://blog.madewithlove.be/post/gitattributes/ Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitattributes | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 8b0f4db..56be157 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,13 +3,11 @@ *.dat -text /.github/ export-ignore /tests export-ignore -/stubs export-ignore /tools export-ignore /.gitattributes export-ignore /.gitignore export-ignore /.gitmodules export-ignore -/.scrutinizer.yml export-ignore -/.travis.yml export-ignore /Makefile export-ignore /phpunit.xml export-ignore /phpstan.neon export-ignore +/benchmarks/ export-ignore