Skip to content

Commit

Permalink
Merge pull request #22 from grossmannmartin/php-83
Browse files Browse the repository at this point in the history
Added support for PHP 8.3
  • Loading branch information
jakzal committed Jan 22, 2024
2 parents 20ee2bb + b4d4348 commit 1c0e0d7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
name: Build and test
strategy:
matrix:
php: ['8.1', '8.2']
php: ['8.1', '8.2', '8.3']
deps: [high]
include:
- php: '8.2'
- php: '8.3'
deps: low

steps:
Expand All @@ -31,7 +31,7 @@ jobs:
with:
php-version: "${{ matrix.php }}"
ini-values: "phar.readonly=0"
coverage: none
coverage: pcov

- name: Test & package
if: matrix.deps == 'high'
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ deptrac: tools/deptrac
.PHONY: deptrac

infection: tools/infection tools/infection.pubkey
phpdbg -qrr ./tools/infection --no-interaction --formatter=progress --min-msi=100 --min-covered-msi=100 --only-covered --ansi
./tools/infection --no-interaction --formatter=progress --min-msi=100 --min-covered-msi=100 --ansi
.PHONY: infection

phpunit: tools/phpunit
Expand Down Expand Up @@ -107,10 +107,10 @@ 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
curl -Ls https://github.com/infection/infection/releases/download/0.27.9/infection.phar -o tools/infection && chmod +x tools/infection

tools/infection.pubkey:
curl -Ls https://github.com/infection/infection/releases/download/0.26.16/infection.phar.pubkey -o tools/infection.pubkey
curl -Ls https://github.com/infection/infection/releases/download/0.27.9/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": "Initialises test doubles in PHPUnit test cases for you",
"type": "library",
"require": {
"php": "~8.1.0 || ~8.2.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"phpunit/phpunit": "^9.6",
"phpdocumentor/reflection-docblock": "^5.2"
},
Expand Down

0 comments on commit 1c0e0d7

Please sign in to comment.