From 2277281437e3bdbb3d47ebf7830d359a0252fb93 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Sun, 18 Dec 2022 21:48:55 +0100 Subject: [PATCH 1/2] Drop PHP 8.0 support --- .github/workflows/build.yml | 4 ++-- .scrutinizer.yml | 2 +- Makefile | 2 +- composer.json | 2 +- manifest.xml.in | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fcf3414..7ea35d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: name: Build and test strategy: matrix: - php: ['8.0', '8.1', '8.2'] + php: ['8.1', '8.2'] deps: [high] include: - php: '8.2' @@ -43,7 +43,7 @@ jobs: - name: Upload the phar uses: actions/upload-artifact@v1 - if: matrix.php == '8.0' && matrix.deps == 'high' + if: matrix.php == '8.1' && matrix.deps == 'high' with: name: zalas-phpunit-doubles-extension.phar path: build/zalas-phpunit-doubles-extension.phar diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 81b80eb..38e5a09 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -3,7 +3,7 @@ inherit: true build: environment: php: - version: 8.0 + version: 8.2 tests: override: - make test diff --git a/Makefile b/Makefile index 26ab6fc..d4f94e2 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ package: tools/box cd build/phar && \ composer remove phpunit/phpunit --no-update && \ - composer config platform.php 8.0 && \ + composer config platform.php 8.1 && \ composer update --no-dev -o -a tools/box compile diff --git a/composer.json b/composer.json index b2320f5..fc79331 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Initialises test doubles in PHPUnit test cases for you", "type": "library", "require": { - "php": "~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0", "phpunit/phpunit": "^9.0", "phpdocumentor/reflection-docblock": "^5.2" }, diff --git a/manifest.xml.in b/manifest.xml.in index ddf8066..c3a4413 100644 --- a/manifest.xml.in +++ b/manifest.xml.in @@ -10,6 +10,6 @@ - + From 7d6a17d8e9e5e79ab9b3d64b88aa593e41ddd274 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Sun, 18 Dec 2022 21:49:46 +0100 Subject: [PATCH 2/2] Update deptrac --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d4f94e2..006d8a4 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,7 @@ tools/php-cs-fixer: curl -Ls http://cs.symfony.com/download/php-cs-fixer-v3.phar -o tools/php-cs-fixer && chmod +x tools/php-cs-fixer tools/deptrac: - curl -Ls https://github.com/sensiolabs-de/deptrac/releases/download/0.24.0/deptrac.phar -o tools/deptrac && chmod +x tools/deptrac + curl -Ls https://github.com/sensiolabs-de/deptrac/releases/download/1.0.2/deptrac.phar -o tools/deptrac && chmod +x tools/deptrac tools/infection: tools/infection.pubkey curl -Ls https://github.com/infection/infection/releases/download/0.26.16/infection.phar -o tools/infection && chmod +x tools/infection