Skip to content

Commit

Permalink
Allow installation with PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuswinkler committed Apr 24, 2023
1 parent d480c44 commit 83ecf0a
Show file tree
Hide file tree
Showing 13 changed files with 1,165 additions and 755 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
php-version:
- "8.0"
- "8.1"
- "8.2"
dependencies:
- "locked"

Expand Down Expand Up @@ -51,7 +52,7 @@ jobs:
run: "composer update --prefer-lowest --prefer-dist --no-interaction --no-progress"

- name: "Run Psalm"
run: "vendor/bin/psalm --output-format=github --shepherd"
run: "vendor/bin/psalm --output-format=github --shepherd --php-version=${{ matrix.php-version }}"

unit-tests:
name: "Unit Tests"
Expand All @@ -62,6 +63,7 @@ jobs:
php-version:
- "8.0"
- "8.1"
- "8.2"
dependencies:
- "locked"
- "highest"
Expand Down Expand Up @@ -112,6 +114,7 @@ jobs:
php-version:
- "8.0"
- "8.1"
- "8.2"
dependencies:
- "locked"

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
}
],
"require": {
"php": "8.0.* | 8.1.*",
"php": "8.0.* | 8.1.* | 8.2.*",
"webmozart/assert": "^1.9"
},
"require-dev": {
"infection/infection": "^0.20.2",
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.15.2",
"infection/infection": "^0.26.19",
"phpunit/phpunit": "^9.6.7",
"psalm/plugin-phpunit": "^0.18.4",
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "~4.22.0"
"vimeo/psalm": "~5.8.0"
},
"config": {
"sort-packages": true,
Expand Down
Loading

0 comments on commit 83ecf0a

Please sign in to comment.