Skip to content

Commit aecf5e2

Browse files
authored
Merge pull request #72 from PHPCSStandards/feature/gitattributes-improve-readability
.gitattributes: various readability improvements
2 parents 379148e + 7c56d9f commit aecf5e2

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

.gitattributes

+16-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
1-
.cspell.json export-ignore
2-
.gitattributes export-ignore
3-
.github/ export-ignore
4-
.gitignore export-ignore
5-
phpcs.xml.dist export-ignore
1+
#
2+
# Exclude these files from release archives.
3+
# This will also make them unavailable when using Composer with `--prefer-dist`.
4+
# If you develop for this repo using Composer, use `--prefer-source`.
5+
# https://www.reddit.com/r/PHP/comments/2jzp6k/i_dont_need_your_tests_in_my_production/
6+
# https://blog.madewithlove.be/post/gitattributes/
7+
#
8+
.github/ export-ignore
9+
scripts/ export-ignore
10+
.cspell.json export-ignore
11+
.gitattributes export-ignore
12+
.gitignore export-ignore
13+
phpcs.xml.dist export-ignore
614
phpstan.neon.dist export-ignore
7-
phpunit.xml.dist export-ignore
8-
scripts/ export-ignore
15+
phpunit.xml.dist export-ignore
916

17+
#
1018
# Declare files that should always have CRLF line endings on checkout.
19+
#
1120
*WinTest.inc text eol=crlf
1221
*WinTest.php text eol=crlf
1322
src/Standards/Generic/Tests/Files/LineEndingsUnitTest*.inc text eol=crlf

0 commit comments

Comments
 (0)