Package: php-deepcopy / 1.10.2-3

0001-Use-recent-Doctrine-Persistence-path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Mon, 7 Dec 2020 18:29:06 -0400
Subject: Use recent Doctrine\Persistence path

---
 src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php           | 2 +-
 tests/DeepCopyTest/Matcher/Doctrine/DoctrineProxyMatcherTest.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php b/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php
index ec8856f..c5887b1 100644
--- a/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php
+++ b/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php
@@ -3,7 +3,7 @@
 namespace DeepCopy\Matcher\Doctrine;
 
 use DeepCopy\Matcher\Matcher;
-use Doctrine\Common\Persistence\Proxy;
+use Doctrine\Persistence\Proxy;
 
 /**
  * @final
diff --git a/tests/DeepCopyTest/Matcher/Doctrine/DoctrineProxyMatcherTest.php b/tests/DeepCopyTest/Matcher/Doctrine/DoctrineProxyMatcherTest.php
index 6303a4c..22e380d 100644
--- a/tests/DeepCopyTest/Matcher/Doctrine/DoctrineProxyMatcherTest.php
+++ b/tests/DeepCopyTest/Matcher/Doctrine/DoctrineProxyMatcherTest.php
@@ -4,7 +4,7 @@ namespace DeepCopyTest\Matcher\Doctrine;
 
 use BadMethodCallException;
 use DeepCopy\Matcher\Doctrine\DoctrineProxyMatcher;
-use Doctrine\Common\Persistence\Proxy;
+use Doctrine\Persistence\Proxy;
 use PHPUnit\Framework\TestCase;
 use stdClass;