Skip to content

Commit ce6a398

Browse files
Merge pull request #16 from SyliusLabs/orm-3
[Maintenance] Add support for ORM v3
2 parents 766400b + fe39c22 commit ce6a398

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
php: [8.1, 8.2, 8.3]
23-
symfony: [5.4.*, 6.4.*, 7.0.*]
22+
php: [8.1, 8.2, 8.3, 8.4]
23+
symfony: [5.4.*, 6.4.*, 7.1.*, 7.2.*]
24+
orm: [^2.20, ^3.3]
2425
exclude:
2526
- php: 8.1
2627
symfony: 7.0.*
@@ -52,6 +53,10 @@ jobs:
5253
restore-keys: |
5354
${{ runner.os }}-php-${{ matrix.php }}-composer-
5455
56+
-
57+
name: Require Doctrine ORM
58+
run: composer require doctrine/orm:${{ matrix.orm }} --no-interaction --no-install
59+
5560
-
5661
name: Require Symfony version
5762
run: composer require symfony/property-access:${{ matrix.symfony }} --no-interaction --update-with-all-dependencies --prefer-dist

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"require": {
1313
"php": "^8.1",
1414

15-
"doctrine/orm": "^2.4",
16-
"symfony/property-access": "^5.4|^6.4|^7.0"
15+
"doctrine/orm": "^2.20 || ^3.3",
16+
"symfony/property-access": "^5.4 || ^6.4 || ^7.1"
1717
},
1818
"autoload": {
1919
"psr-4": { "SyliusLabs\\AssociationHydrator\\": "src/" }

0 commit comments

Comments
 (0)