From 8ab17ec6e290325f7406953d6060c3844acf4b43 Mon Sep 17 00:00:00 2001 From: Ali Sasani Date: Sat, 26 Sep 2026 11:52:45 +0330 Subject: [PATCH 1/2] [chore] exclude dev files from Composer dist archive --- .gitattributes | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.gitattributes b/.gitattributes index 355ec90..ba137d8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -15,3 +15,34 @@ *.PDF diff=astextplain *.rtf diff=astextplain *.RTF diff=astextplain + +# --------------------------------------------------------- +# Files and directories excluded from Composer dist archive +# --------------------------------------------------------- + +# Git & GitHub +/.github/ export-ignore +.gitattributes export-ignore +.gitignore export-ignore +.editorconfig export-ignore +.dockerignore export-ignore + +# Tests +/tests/ export-ignore +phpunit.xml export-ignore + +# Code quality tools +phpcs.xml.dist export-ignore +phpstan.neon.dist export-ignore +rector.php export-ignore + +# Docker & Make +Dockerfile export-ignore +Makefile export-ignore + +# Development documentation +CONTRIBUTING.md export-ignore +CONDUCT.md export-ignore +ISSUE_TEMPLATE.md export-ignore +PULL_REQUEST_TEMPLATE.md export-ignore +CHANGELOG.md export-ignore From 7109d5878cfc7d5309af4d70eff37926a3f50548 Mon Sep 17 00:00:00 2001 From: Ali Sasani Date: Sat, 26 Sep 2026 11:56:12 +0330 Subject: [PATCH 2/2] [chore] delete CHANGELOG from ignore export --- .gitattributes | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index ba137d8..0a8fb9c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -45,4 +45,3 @@ CONTRIBUTING.md export-ignore CONDUCT.md export-ignore ISSUE_TEMPLATE.md export-ignore PULL_REQUEST_TEMPLATE.md export-ignore -CHANGELOG.md export-ignore