diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..86bfd83 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# Set default behavior for line endings and diffs +* text=auto eol=lf +*.php text diff=php + +# Exclude dev, test, and CI files from Composer package archives (git archive) +/.editorconfig export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/.gitlab-ci.yml export-ignore +/.github export-ignore +/.vscode export-ignore + +/build export-ignore +/tests export-ignore + +/phpcs.xml export-ignore +/phpcs.xml.dist export-ignore +/phpstan.neon export-ignore +/phpstan.neon.dist export-ignore +/phpunit.xml export-ignore +/phpunit.xml.dist export-ignore +/pint.json export-ignore