2015-05-28 12:36:38 +00:00
|
|
|
# Auto-detect text files, ensure they use LF.
|
|
|
|
* text=auto eol=lf
|
|
|
|
|
|
|
|
# These files are always considered text and should use LF.
|
2020-04-12 22:54:46 +00:00
|
|
|
# See core.whitespace @ https://git-scm.com/docs/git-config for whitespace flags.
|
2015-05-28 13:20:26 +00:00
|
|
|
*.php text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4 diff=php
|
|
|
|
*.json text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4
|
|
|
|
*.test text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4
|
2016-09-04 12:24:55 +00:00
|
|
|
*.yml text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=2
|
2017-12-10 06:20:45 +00:00
|
|
|
|
|
|
|
# Exclude non-essential files from dist
|
2023-06-06 13:19:08 +00:00
|
|
|
/.github/ export-ignore
|
|
|
|
/doc export-ignore
|
2023-08-29 12:17:16 +00:00
|
|
|
/phpstan/* export-ignore
|
2023-06-06 13:19:08 +00:00
|
|
|
/tests/ export-ignore
|
|
|
|
/.editorconfig export-ignore
|
|
|
|
/.gitattributes export-ignore
|
|
|
|
/.gitignore export-ignore
|
|
|
|
/.php-cs-fixer.php export-ignore
|
|
|
|
/CHANGELOG.md export-ignore
|
|
|
|
/CODE_OF_CONDUCT.md export-ignore
|
|
|
|
/composer.lock export-ignore
|
|
|
|
/phpunit.xml.dist export-ignore
|
|
|
|
/PORTING_INFO export-ignore
|
|
|
|
/README.md export-ignore
|
|
|
|
/UPGRADE-2.0.md export-ignore
|
2023-06-21 11:58:42 +00:00
|
|
|
|
|
|
|
# Ref https://github.com/composer/composer/issues/11507
|
|
|
|
/phpstan/rules.neon -export-ignore
|