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

31
.gitattributes vendored
View File

@ -1,13 +1,20 @@
/.* export-ignore
bin export-ignore
# 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
changelog.txt export-ignore
composer.* export-ignore
Gruntfile.js export-ignore
package.json export-ignore
package-lock.json export-ignore
phpcs.xml export-ignore
phpunit.* export-ignore
README.md export-ignore
tests export-ignore
renovate.json export-ignore
changelog.txt export-ignore
composer.* export-ignore
Gruntfile.js export-ignore
package.json export-ignore
package-lock.json export-ignore
phpcs.xml export-ignore
phpunit.* export-ignore
README.md export-ignore
renovate.json export-ignore
tests export-ignore