Skip to content

Commit

Permalink
Allow doctrine/persistence 3.0 (#75)
Browse files Browse the repository at this point in the history
* Allow doctrine/persistence 3.0

* Allow doctrine/persistence 3.0 in global composer.json
  • Loading branch information
yann-eugone authored May 31, 2023
1 parent 54e7fc5 commit 1ccd406
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"box/spout": "^3.0",
"doctrine/dbal": "^2.11",
"doctrine/orm": "^2.8",
"doctrine/persistence": "^2.0",
"doctrine/persistence": "^2.0|^3.0",
"league/flysystem": "^3.0",
"psr/container": "^1.0",
"psr/event-dispatcher": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/batch-doctrine-orm/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": {
"php": "^8.0",
"doctrine/orm": "^2.8",
"doctrine/persistence": "^2.0",
"doctrine/persistence": "^2.0|^3.0",
"yokai/batch": "^0.5.0"
},
"autoload": {
Expand Down
3 changes: 3 additions & 0 deletions src/batch-doctrine-orm/src/EntityReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ final class EntityReader implements ItemReaderInterface
{
public function __construct(
private ManagerRegistry $doctrine,
/**
* @var class-string
*/
private string $class,
) {
}
Expand Down
2 changes: 1 addition & 1 deletion src/batch-doctrine-persistence/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"php": "^8.0",
"doctrine/persistence": "^2.0",
"doctrine/persistence": "^2.0|^3.0",
"yokai/batch": "^0.5.0"
},
"autoload": {
Expand Down

0 comments on commit 1ccd406

Please sign in to comment.