From b377f121a867280832f211d37cd565d06e538497 Mon Sep 17 00:00:00 2001 From: Dmitry Popov Date: Sat, 26 Oct 2024 01:55:12 +0300 Subject: [PATCH 1/2] Add .gitattributes Delete tests, .github diricrecories from Composer package. https://getcomposer.org/doc/02-libraries.md#light-weight-distribution-packages --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..857e348 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# ignore directories in the git-generated distributed .zip archive +/.github export-ignore +/tests export-ignore From 2417f0d919f27fb31cf49889f2395ccbafdf6566 Mon Sep 17 00:00:00 2001 From: Casper Bakker Date: Sat, 26 Oct 2024 11:03:40 +0200 Subject: [PATCH 2/2] Add more export-ignores to .gitattributes --- .gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitattributes b/.gitattributes index 857e348..0d38a9a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,10 @@ # ignore directories in the git-generated distributed .zip archive /.github export-ignore /tests export-ignore +.gitattributes export-ignore +.gitignore export-ignore +generate-examples.php export-ignore +generate-verified-files.php export-ignore +phpunit.xml export-ignore +examples.md export-ignore +phpstan.neon.dist export-ignore