Skip to content

Commit

Permalink
feat: PHP 8.4 compatibility (#115)
Browse files Browse the repository at this point in the history
* feat: PHP 8.4 compatibility

* bump phpstan & psalm
  • Loading branch information
priyadi authored Sep 16, 2024
1 parent 497c019 commit 8f29ba4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php: [ '8.1', '8.2', '8.3' ]
php: [ '8.1', '8.2', '8.3', '8.4' ]
symfony: [ '6.*', '7.*' ]
dep: [highest,lowest]
exclude:
Expand Down Expand Up @@ -52,12 +52,13 @@ jobs:
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dep }}
composer-options: --prefer-dist --no-progress
composer-options: --prefer-dist --no-progress --ignore-platform-reqs
env:
SYMFONY_REQUIRE: ${{ matrix.symfony }}

- name: Run psalm
run: vendor/bin/psalm
if: matrix.dep == 'highest'

- name: Run phpstan
run: vendor/bin/phpstan analyse
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.5.0

* feat: PHP 8.4 compatibility

## 2.4.0

* fix(OutboxMessage): fix ID generation strategy
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"bnf/phpstan-psr-container": "^1.0",
"ekino/phpstan-banned-code": "^1.0 || ^2.0",
"mockery/mockery": "^1.6",
"phpstan/phpstan": "^1.10.60 || ^1.11",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^10.2",
Expand All @@ -47,7 +47,7 @@
"symfony/yaml": "^6.4 || ^7.0",
"symplify/monorepo-builder": "^11.2.20 || ^11.3",
"twig/twig": "^3.0",
"vimeo/psalm": "^5.24"
"vimeo/psalm": "^5.26"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 8f29ba4

Please sign in to comment.