Skip to content

Commit 7d4e7fb

Browse files
authored
Merge pull request #60 from GrahamCampbell/patch-2
Test on PHP 8.1 and 8.2
2 parents a797c2a + 7988025 commit 7d4e7fb

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
13+
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
1414

1515
steps:
1616
- name: Checkout code
@@ -23,15 +23,8 @@ jobs:
2323
tools: composer:v2
2424
coverage: none
2525

26-
- name: Install PHP 7 dependencies
26+
- name: Install dependencies
2727
run: composer update --prefer-dist --no-interaction --no-progress
28-
if: "matrix.php != '8.0'"
29-
30-
- name: Install PHP 8 dependencies
31-
run: |
32-
composer require "phpdocumentor/reflection-docblock:^5.2@dev" --no-interaction --no-update
33-
composer update --prefer-dist --prefer-stable --no-interaction --no-progress --ignore-platform-req=php
34-
if: "matrix.php == '8.0'"
3528

3629
- name: Execute tests
3730
run: composer test

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"psr/http-client-implementation": "1.0"
3333
},
3434
"require-dev": {
35-
"phpspec/phpspec": "^5.1 || ^6.0"
35+
"phpspec/phpspec": "^5.1 || ^6.1 || ^7.3"
3636
},
3737
"config": {
3838
"sort-packages": true

0 commit comments

Comments
 (0)