Skip to content

Commit

Permalink
Merge pull request #122 from dingo-d/feature/add-gitattributes
Browse files Browse the repository at this point in the history
Add gitattributes file
  • Loading branch information
BrianHenryIE authored Oct 13, 2024
2 parents b655469 + 83fa3bf commit fe59779
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# Exclude these files from release archives.
# This will also make them unavailable when using Composer with `--prefer-dist`.
# https://blog.madewithlove.be/post/gitattributes/
#
/.gitattributes export-ignore
/.gitignore export-ignore
/phpcs.xml export-ignore
/phpstan.neon export-ignore
/phpstanbootstrap.php export-ignore
/phpunit.xml export-ignore
/.github export-ignore
/scripts export-ignore
/tests export-ignore

#
# Auto detect text files and perform LF normalization
# https://pablorsk.medium.com/be-a-git-ninja-the-gitattributes-file-e58c07c9e915
#
* text=auto

*.php text

0 comments on commit fe59779

Please sign in to comment.