Skip to content

Commit b525804

Browse files
committed
Add a .gitattributes file with export-ignore rules
Add a [`.gitattributes` file for the project](https://php.watch/articles/composer-gitattributes), so we can exclude test and other build files from composer `prefer-dist` installations. With this PR merged, the dist size of this package will be ~45% smaller.
1 parent ea848c7 commit b525804

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/tests export-ignore
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.travis.yml export-ignore
5+
/phpcs.xml export-ignore
6+
/phpunit.xml.dist export-ignore
7+
8+
*.php diff=php

0 commit comments

Comments
 (0)