LF line endings on checkout for PHP files

This commit is contained in:
IanDelMar 2020-08-23 11:37:58 +02:00
parent 9b9ebc396a
commit 8c813277a9
1 changed files with 19 additions and 12 deletions

9
.gitattributes vendored
View File

@ -1,3 +1,10 @@
# Set the default behavior, in case people don't have `core.autocrlf` set.
* text=auto
# Declare files that will always have LF line endings on checkout.
*.php text eol=lf
# Remove files for archives generated using `git archive`.
/.* export-ignore
bin export-ignore
CODE_OF_CONDUCT.md export-ignore
@ -9,5 +16,5 @@ package-lock.json export-ignore
phpcs.xml export-ignore
phpunit.* export-ignore
README.md export-ignore
tests export-ignore
renovate.json export-ignore
tests export-ignore