Skip to content

Commit

Permalink
Fix doctrine persistence version to avoid deprecations changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chosroes committed Jan 9, 2020
1 parent afc62e7 commit 0074f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"doctrine/dbal": "^2.10.0",
"doctrine/event-manager": "^1.1",
"doctrine/instantiator": "^1.3",
"doctrine/persistence": "^1.2",
"doctrine/persistence": "~1.2.0",
"ocramius/package-versions": "^1.4",
"symfony/console": "^3.0|^4.0|^5.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function testAllMethodCallsAreDelegatedToTheWrappedInstance($method, arra

$this->assertSame($return, $decorator->$method(...$parameters));

if (in_array($method, ['copy', 'merge', 'detach', 'getHydrator', 'getCache'], true)) {
if (in_array($method, ['copy', 'merge', 'detach', 'getHydrator'], true)) {
$this->assertHasDeprecationMessages();
return;
}
Expand Down

0 comments on commit 0074f28

Please sign in to comment.