Skip to content

Commit

Permalink
Bump minimum PHP version to 8.1 and Symfony to 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
benr77 committed Dec 13, 2024
1 parent 316b16e commit 684031f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@ jobs:
fail-fast: false
matrix:
operating-system: [ ubuntu-latest, windows-latest ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
symfony: [ '4.4.*', '5.4.*', '6.4.*', '7.1.*' ]
php: [ '8.1', '8.2', '8.3', '8.4' ]
symfony: [ '5.4.*', '6.4.*', '7.2.*' ]
exclude:
- { php: '7.4', symfony: '6.4.*' }
- { php: '8.0', symfony: '6.4.*' }
- { php: '7.4', symfony: '7.1.*' }
- { php: '8.0', symfony: '7.1.*' }
- { php: '8.1', symfony: '7.1.*' }
- { php: '8.1', symfony: '7.2.*' }

steps:
- name: Checkout
Expand All @@ -49,6 +45,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: latest
- uses: ramsey/composer-install@v3
- run: vendor/bin/ecs

Expand All @@ -57,5 +56,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: latest
- uses: ramsey/composer-install@v3
- run: vendor/bin/phpstan
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
"issues": "https://github.com/headsnet/domain-event-bundle/issues"
},
"require": {
"php": "^7.4 || ^8.0.2 || ^8.1",
"php": "^8.1",
"doctrine/orm": "^2.5",
"doctrine/doctrine-bundle": "^1.0 || ^2.0",
"doctrine/doctrine-bundle": "^2.0",
"ramsey/uuid-doctrine": "^1.5",
"symfony/event-dispatcher": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/lock": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/messenger": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/property-access": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/serializer": "^4.4 || ^5.0 || ^6.0 || ^7.0"
"symfony/event-dispatcher": "^5.4 || ^6.4 || ^7.0",
"symfony/framework-bundle": "^5.4 || ^6.4 || ^7.0",
"symfony/lock": "^5.4 || ^6.4 || ^7.0",
"symfony/messenger": "^5.4 || ^6.4 || ^7.0",
"symfony/property-access": "^5.4 || ^6.4 || ^7.0",
"symfony/serializer": "^5.4 || ^6.4 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand Down

0 comments on commit 684031f

Please sign in to comment.