From 58bc935553ae202dfaf2eea23d3673bc623284ab Mon Sep 17 00:00:00 2001 From: Karel Wintersky Date: Tue, 29 Apr 2025 18:43:39 +0300 Subject: [PATCH] Create .gitattributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR adds a .gitattributes file to exclude specific files and directories from exports/installing composer package. Purpose: Keeps repository metadata and tooling files out of distribution packages. Follows best practices for cleaner project exports. Impact: No runtime changes—this only affects repository operations like git archive. --- .gitattributes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ebf5613 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,18 @@ +* text=auto +* eol=lf + +.git export-ignore +.gitattributes export-ignore +.gitignore export-ignore +CREDITS export-ignore +phpcs-ruleset.xml export-ignore +phpdoc.xml export-ignore +phpunit.xml export-ignore +scrutinizer.yml export-ignore +.github export-ignore +examples export-ignore +tests export-ignore +API-1.0.0 export-ignore +RELEASE-2.0.0 export-ignore +CONTRIBUTING.md export-ignore +CHANGELOG.md export-ignore