File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Validator \Tests ;
13
13
14
- use Doctrine \Common \Annotations \CachedReader ;
15
14
use Doctrine \Common \Annotations \PsrCachedReader ;
16
15
use Doctrine \Common \Annotations \Reader ;
17
16
use PHPUnit \Framework \TestCase ;
@@ -94,11 +93,7 @@ public function testEnableAnnotationMappingWithDefaultDoctrineAnnotationReader()
94
93
$ r = new \ReflectionProperty (AnnotationLoader::class, 'reader ' );
95
94
$ r ->setAccessible (true );
96
95
97
- if (class_exists (PsrCachedReader::class)) {
98
- $ this ->assertInstanceOf (PsrCachedReader::class, $ r ->getValue ($ loaders [0 ]));
99
- } else {
100
- $ this ->assertInstanceOf (CachedReader::class, $ r ->getValue ($ loaders [0 ]));
101
- }
96
+ $ this ->assertInstanceOf (PsrCachedReader::class, $ r ->getValue ($ loaders [0 ]));
102
97
}
103
98
104
99
public function testEnableAnnotationMappingWithCustomDoctrineAnnotationReader ()
You can’t perform that action at this time.
0 commit comments