Update .gitattributes to exclude dev files from composer dist#39
Open
williamdes wants to merge 1 commit into
Open
Update .gitattributes to exclude dev files from composer dist#39williamdes wants to merge 1 commit into
williamdes wants to merge 1 commit into
Conversation
This avoids shipping dev/tooling files in the composer dist that aren't needed at runtime. Last `.gitattributes` update was 3d6d988 (2024-03-12, phar-io#36). ### Stale entry to remove - `/.php_cs.dist.php export-ignore` - the old PHP CS Fixer 2.x config filename. Renamed to `.php-cs-fixer.dist.php` since v3, and the new name is also being added in this PR. ### Entry to add - `/.php-cs-fixer.dist.php export-ignore` - last touched in a9fa919 (2022-02-17). Still shipped in the composer dist. Also realigned the column width on every line for the longest path (`/.php-cs-fixer.dist.php`). Background reading: https://blog.madewithlove.be/post/gitattributes/ Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
williamdes
force-pushed
the
williamdes/gitattributes-export-ignore
branch
from
May 22, 2026 15:53
69da504 to
2df92eb
Compare
Author
|
Do you want to exclude the changelog file too ? |
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 3d6d988 (2024-03-12, #36).Stale entry to remove
/.php_cs.dist.php export-ignore- the old PHP CS Fixer 2.x config filename. The repo renamed it to.php-cs-fixer.dist.phpin a9fa919 (2022-02-17), and the new name is added below.Entry to add
/.php-cs-fixer.dist.php export-ignore- last touched in a9fa919 (2022-02-17). Still shipped in the composer dist.Also realigned the column width to fit
/.php-cs-fixer.dist.php(the longest path now).Background reading: https://blog.madewithlove.be/post/gitattributes/