Skip to content

Commit

Permalink
[Maintenance] Add support for ORM v3
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel committed Dec 23, 2024
1 parent 766400b commit fe39c22
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3]
symfony: [5.4.*, 6.4.*, 7.0.*]
php: [8.1, 8.2, 8.3, 8.4]
symfony: [5.4.*, 6.4.*, 7.1.*, 7.2.*]
orm: [^2.20, ^3.3]
exclude:
- php: 8.1
symfony: 7.0.*
Expand Down Expand Up @@ -52,6 +53,10 @@ jobs:
restore-keys: |
${{ runner.os }}-php-${{ matrix.php }}-composer-
-
name: Require Doctrine ORM
run: composer require doctrine/orm:${{ matrix.orm }} --no-interaction --no-install

-
name: Require Symfony version
run: composer require symfony/property-access:${{ matrix.symfony }} --no-interaction --update-with-all-dependencies --prefer-dist
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"require": {
"php": "^8.1",

"doctrine/orm": "^2.4",
"symfony/property-access": "^5.4|^6.4|^7.0"
"doctrine/orm": "^2.20 || ^3.3",
"symfony/property-access": "^5.4 || ^6.4 || ^7.1"
},
"autoload": {
"psr-4": { "SyliusLabs\\AssociationHydrator\\": "src/" }
Expand Down

0 comments on commit fe39c22

Please sign in to comment.