Skip to content

Commit d541bf5

Browse files
.gitattributes update
1 parent 2e68287 commit d541bf5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.gitattributes

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Export only these files for Composer installs
2+
/composer.json export-ignore
3+
/phpstan.neon.dist export-ignore
4+
/phpunit.xml export-ignore
5+
/tests export-ignore
6+
/.github export-ignore
7+
/.gitignore export-ignore
8+
/.editorconfig export-ignore
9+
/.gitattributes export-ignore
10+
/CHANGELOG.md export-ignore
11+
12+
# Normalize text files to LF
13+
* text=auto
14+
15+
# Ensure PHP files are UTF-8 and LF
16+
*.php text eol=lf
17+
18+
# Treat Markdown files as text
19+
*.md text
20+
21+
# Treat YAML files as text
22+
*.yml text
23+
*.yaml text
24+
25+
# Treat JSON files as text
26+
*.json text

0 commit comments

Comments
 (0)