From 9db8c8534569b0186eb8c8d22b246697c6c397cf Mon Sep 17 00:00:00 2001 From: quiqqer-stabilization-gitlab-repository-manager <server+quiqqer-stabilization-gitlab-repository-manager@pcsg.de> Date: Thu, 12 Dec 2024 16:39:23 +0000 Subject: [PATCH] chore: add .gitattributes file --- .gitattributes | 15 +++++++++++++++ .gitignore | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9ab59b1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,15 @@ + +# Ignore developer files when exporting +.gitattributes export-ignore +.gitignore export-ignore +.gitlab-ci.yml export-ignore +.phive export-ignore +captainhook.json export-ignore +phpcs.xml.dist export-ignore +phpstan-baseline.neon export-ignore +phpstan.dist.neon export-ignore +phpunit.dist.xml export-ignore +tests export-ignore + +# Explicitly set file type and line endings for PHP files, improves git diff output +*.php text eol=lf diff=php \ No newline at end of file diff --git a/.gitignore b/.gitignore index 9488a5c..7ff23f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ tools/ phpstan.neon .phpunit.result.cache + +tools/ -- GitLab