Update .gitattributes to exclude dev files from composer dist#1626
Open
williamdes wants to merge 2 commits into
Open
Update .gitattributes to exclude dev files from composer dist#1626williamdes wants to merge 2 commits into
williamdes wants to merge 2 commits into
Conversation
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, schmittjoh#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, schmittjoh#1604). Background reading: https://blog.madewithlove.be/post/gitattributes/ Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
cfa17ac to
6688447
Compare
Author
|
do you want to exclude the changelog or/and the upgrading notes ? |
Collaborator
|
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This avoids shipping dev/tooling files in the composer dist that aren't needed at runtime.
Last
.gitattributesupdate was cd24e3c (2023-01-06).Stale entry to remove
/phpstan.xml.dist export-ignore- file does not exist upstream (the config isphpstan.neon.dist, which is added below).Entries to add
Files added or modified since the last
.gitattributesupdate, 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, Spelling #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, Spelling #1604).Background reading: https://blog.madewithlove.be/post/gitattributes/