From 72ebd8e86cb82fa1db8d7b670b041039d8c6cf54 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 3 Dec 2022 17:20:02 +0100 Subject: [PATCH 1/3] Exclude MAINTAINERS.md from vendor bundles --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 974f175..a02f04c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,6 +13,7 @@ /.gitignore export-ignore /CODE_OF_CONDUCT.md export-ignore /CONTRIBUTING.md export-ignore +/MAINTAINERS.md export-ignore /README.md export-ignore /phpcs.xml export-ignore /phpstan.neon.dist export-ignore From 966d0fffd845a4e63a69fb157ed4e77b0ab1041b Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 3 Dec 2022 17:20:35 +0100 Subject: [PATCH 2/3] Add back tests to vendor bundles and exclude them from packagist archive --- .gitattributes | 2 -- composer.json | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index a02f04c..37e0ce4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,7 +3,6 @@ # Exclude unused files # see: https://redd.it/2jzp6k -/tests export-ignore /.tmp export-ignore /.codeclimate.yml export-ignore /.coveralls.yml export-ignore @@ -17,4 +16,3 @@ /README.md export-ignore /phpcs.xml export-ignore /phpstan.neon.dist export-ignore -/phpunit.xml.dist export-ignore diff --git a/composer.json b/composer.json index 1fc4de8..c7eb9be 100644 --- a/composer.json +++ b/composer.json @@ -72,5 +72,11 @@ }, "config": { "sort-packages": true + }, + "archive": { + "exclude": [ + "/tests", + "/phpunit.xml.dist" + ] } } From c8b9c6a91fdba908b91f2d83c2be4050caffcab3 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 3 Dec 2022 17:22:27 +0100 Subject: [PATCH 3/3] Test on PHP 8.2 and add php nightly to tests --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 30df493..6dc138d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,11 +10,13 @@ jobs: strategy: fail-fast: false matrix: - php: [7.4, 8.0, 8.1] + php: [7.4, 8.0, 8.1, 8.2] experimental: [false] include: - php: 8.1 analysis: true + - php: nightly + experimental: true steps: - name: Checkout