Skip to content

Commit

Permalink
Merge pull request #45 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 authored Dec 18, 2022
2 parents 7ee959e + 66992a7 commit 185995d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 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-injector-extension.phar
path: build/zalas-phpunit-injector-extension.phar
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,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 @@ -101,13 +101,13 @@ 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.2/infection.phar -o tools/infection && chmod +x tools/infection
curl -Ls https://github.com/infection/infection/releases/download/0.26.16/infection.phar -o tools/infection && chmod +x tools/infection

tools/infection.pubkey:
curl -Ls https://github.com/infection/infection/releases/download/0.26.2/infection.phar.pubkey -o tools/infection.pubkey
curl -Ls https://github.com/infection/infection/releases/download/0.26.16/infection.phar.pubkey -o tools/infection.pubkey

tools/box:
curl -Ls https://github.com/humbug/box/releases/download/3.16.0/box.phar -o tools/box && chmod +x tools/box
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": "Injects services from a PSR-11 dependency injection container to PHPUnit test cases",
"type": "library",
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0",
"php": "~8.1.0 || ~8.2.0",
"phpunit/phpunit": "^9.0",
"psr/container": "^1.0 || ^2.0",
"zalas/injector": "^2.0"
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 185995d

Please sign in to comment.