From f8a9427adb1368092f2f243adb7322ebd00d2f6c Mon Sep 17 00:00:00 2001 From: Nicolas Joubert Date: Wed, 14 Oct 2026 15:21:59 +0200 Subject: [PATCH] chore(composer) #47 Add a .gitattributes to exclude the development files from the Composer archive Same change as cleverage/process-bundle#270: export-ignore .docker/, .github/, tests/, .gitattributes, .gitignore, .php-cs-fixer.dist.php, Makefile, phpstan.neon, phpunit.xml.dist and rector.php. docs/ is kept. Co-Authored-By: Claude Opus 5.5 (1M context) --- .gitattributes | 10 ++++++++++ CHANGELOG.md | 1 + 2 files changed, 11 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3be3ece --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +/.docker export-ignore +/.gitattributes export-ignore +/.github export-ignore +/.gitignore export-ignore +/.php-cs-fixer.dist.php export-ignore +/Makefile export-ignore +/phpstan.neon export-ignore +/phpunit.xml.dist export-ignore +/rector.php export-ignore +/tests export-ignore diff --git a/CHANGELOG.md b/CHANGELOG.md index a7c51dd..fb71ade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Latest ------ ### Changes +* [#47](https://github.com/cleverage/flysystem-process-bundle/issues/47) Add a `.gitattributes`: the development files (`.docker/`, `.github/`, `tests/`, quality tools and PHPUnit configurations, `Makefile`) are no longer part of the archive installed by Composer (`dist`). * [#45](https://github.com/cleverage/flysystem-process-bundle/issues/45) Require `league/flysystem` and `psr/log`, used directly by the tasks but only installed through `league/flysystem-bundle` and `cleverage/process-bundle`; add `league/flysystem-local` (used by the tests) to the dev requirements. v3.2