From 6688447df80af19bce4f7e3e7bb5295351b2b3ea Mon Sep 17 00:00:00 2001 From: William Desportes Date: Wed, 20 May 2026 14:30:26 +0200 Subject: [PATCH 1/2] 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 cd24e3c (2023-01-06). ### Stale entry to remove - `/phpstan.xml.dist export-ignore` - file does not exist upstream (the config is `phpstan.neon.dist`, which is added below). ### Entries to add Files added or modified since the last `.gitattributes` update, still shipped in the composer dist: - `/.run export-ignore` - last touched in 1aa5bfa (2021-10-28). PhpStorm run configurations. - `/doc/ export-ignore` - last touched in e5baafe (2025-07-17, #1604). - `/phpstan.neon.dist export-ignore` - last touched in 3d937ad (2024-11-25). - `/phpbench.json export-ignore` - last touched in 77b8c5f (2023-01-21). - `/rector.php export-ignore` - last touched in 48434b3 (2025-04-02). - `/CONTRIBUTING.md export-ignore` - last touched in f674fba (2026-03-26). - `/META.md export-ignore` - last touched in e5baafe (2025-07-17, #1604). Background reading: https://blog.madewithlove.be/post/gitattributes/ Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitattributes | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 6cfb5555d..2e5eec60b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,14 @@ /tests export-ignore /phpcs.xml.dist export-ignore -/phpstan.xml.dist export-ignore /phpunit.xml.dist export-ignore /.gitattributes export-ignore /.github export-ignore /.gitignore export-ignore +/.run export-ignore /phpstan export-ignore +/doc/ export-ignore +/phpstan.neon.dist export-ignore +/phpbench.json export-ignore +/rector.php export-ignore +/CONTRIBUTING.md export-ignore +/META.md export-ignore From df9e9144731023a2744b0a7e5867c609f50489bd Mon Sep 17 00:00:00 2001 From: William Desportes Date: Wed, 27 May 2026 08:47:40 +0200 Subject: [PATCH 2/2] Also remove the not anymore updated CHANGELOG.md --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 2e5eec60b..979b3db04 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11,4 +11,5 @@ /phpbench.json export-ignore /rector.php export-ignore /CONTRIBUTING.md export-ignore +/CHANGELOG.md export-ignore /META.md export-ignore