Skip to content

Commit

Permalink
Merge pull request #20 from jakzal/drop-php-8.0
Browse files Browse the repository at this point in the history
Drop PHP 8.0 support
  • Loading branch information
jakzal committed Dec 18, 2022
2 parents db00d96 + 7d6a17d commit 20cdbbb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ inherit: true
build:
environment:
php:
version: 8.0
version: 8.2
tests:
override:
- make test
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion manifest.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
</copyright>

<requires>
<php version="^8.0"/>
<php version="^8.1"/>
</requires>
</phar>

0 comments on commit 20cdbbb

Please sign in to comment.