From 4e987baf967e32b6cdf9a9f87c8861f2d9c40f34 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Wed, 7 Dec 2022 11:42:29 +0100 Subject: [PATCH] Exclude tests from the composer archive --- .gitattributes | 1 - composer.json | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 519b4dc..d771b9a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,6 +2,5 @@ /.gitignore export-ignore /.github export-ignore /phpcs.xml export-ignore -/phpunit.xml.dist export-ignore /CHANGELOG.md export-ignore /Dockerfile export-ignore diff --git a/composer.json b/composer.json index 1440cc3..7f193da 100644 --- a/composer.json +++ b/composer.json @@ -34,5 +34,11 @@ "allow-plugins": { "ocramius/package-versions": true } + }, + "archive": { + "exclude": [ + "/test", + "/phpunit.xml.dist" + ] } }