From 63ce5e5d35be45b76beac2744d228d76e01f190b Mon Sep 17 00:00:00 2001 From: Nicolas Joubert Date: Wed, 14 Oct 2026 15:21:49 +0200 Subject: [PATCH] chore(composer) #39 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 6c16881..df926cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Latest ------ ### Changes +* [#39](https://github.com/cleverage/cache-process-bundle/issues/39) 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`). * [#37](https://github.com/cleverage/cache-process-bundle/issues/37) Require `psr/cache`, used directly by `Adapter` and `AbstractCacheTask` but only installed through `symfony/cache` and `cleverage/process-bundle`. v2.2