Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support sf 7 & php 8.4 #3

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php: [ '8.1', '8.2' ]
symfony: [ '6.*' ]
php: [ '8.1', '8.2', '8.3', '8.4' ]
symfony: [ '6.*', '7.*' ]
dep: [highest,lowest]
exclude:
# Symfony 7 requires PHP >=8.2
- php: '8.1'
symfony: '7.*'

runs-on: ${{ matrix.operating-system }}

Expand Down Expand Up @@ -49,17 +53,18 @@ jobs:
uses: ramsey/composer-install@v2
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

- name: Run phpunit
run: |
export SYMFONY_DEPRECATIONS_HELPER='max[direct]=0'
vendor/bin/phpunit --testdox
vendor/bin/phpunit
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
## 1.2.0

* test: update phpstan and psalm

## 1.2.0

* chore: update coding style
* feat: support Symfony 7 & PHP 8.4

## 1.1.0

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"require-dev": {
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^10.4",
"phpunit/phpunit": "^10.5",
"psalm/plugin-phpunit": "^0.18.4",
"symplify/monorepo-builder": "^11.2",
"vimeo/psalm": "^5.26"
Expand Down
Loading