File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 13
13
use Doctrine \Bundle \DoctrineBundle \DependencyInjection \Compiler \RemoveProfilerControllerPass ;
14
14
use Doctrine \Bundle \DoctrineBundle \DependencyInjection \Compiler \ServiceRepositoryCompilerPass ;
15
15
use Doctrine \Bundle \DoctrineBundle \DependencyInjection \Compiler \WellKnownSchemaFilterPass ;
16
- use Doctrine \Common \Util \ClassUtils ;
17
16
use Doctrine \ORM \EntityManagerInterface ;
18
17
use Doctrine \ORM \Proxy \Autoloader ;
18
+ use Doctrine \ORM \Proxy \DefaultProxyClassNameResolver ;
19
19
use Symfony \Bridge \Doctrine \DependencyInjection \CompilerPass \DoctrineValidationPass ;
20
20
use Symfony \Bridge \Doctrine \DependencyInjection \CompilerPass \RegisterEventListenersAndSubscribersPass ;
21
21
use Symfony \Bridge \Doctrine \DependencyInjection \CompilerPass \RegisterUidTypePass ;
@@ -101,7 +101,7 @@ public function boot()
101
101
$ container = &$ this ->container ;
102
102
103
103
$ proxyGenerator = static function ($ proxyDir , $ proxyNamespace , $ class ) use (&$ container ): void {
104
- $ originalClassName = ClassUtils:: getRealClass ($ class );
104
+ $ originalClassName = ( new DefaultProxyClassNameResolver ())-> resolveClassName ($ class );
105
105
$ registry = $ container ->get ('doctrine ' );
106
106
assert ($ registry instanceof Registry);
107
107
Original file line number Diff line number Diff line change 48
48
"doctrine/annotations" : " ^1 || ^2" ,
49
49
"doctrine/coding-standard" : " ^12" ,
50
50
"doctrine/deprecations" : " ^1.0" ,
51
- "doctrine/orm" : " ^2.14 || ^3.0" ,
51
+ "doctrine/orm" : " ^2.17 || ^3.0" ,
52
52
"friendsofphp/proxy-manager-lts" : " ^1.0" ,
53
53
"phpunit/phpunit" : " ^9.5.26" ,
54
54
"psalm/plugin-phpunit" : " ^0.18.4" ,
69
69
},
70
70
"conflict" : {
71
71
"doctrine/annotations" : " >=3.0" ,
72
- "doctrine/orm" : " <2.14 || >=4.0" ,
72
+ "doctrine/orm" : " <2.17 || >=4.0" ,
73
73
"twig/twig" : " <1.34 || >=2.0 <2.4"
74
74
},
75
75
"suggest" : {
You can’t perform that action at this time.
0 commit comments