Completed
Pull Request — master (#7143)
by Mike
08:17
created
tests/Doctrine/Tests/OrmTestCase.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Tests;
6 6
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         $reader = new Annotations\CachedReader(new Annotations\AnnotationReader(), new ArrayCache());
68 68
 
69
-        Annotations\AnnotationRegistry::registerFile(__DIR__ . '/../../../lib/Doctrine/ORM/Annotation/DoctrineAnnotations.php');
69
+        Annotations\AnnotationRegistry::registerFile(__DIR__.'/../../../lib/Doctrine/ORM/Annotation/DoctrineAnnotations.php');
70 70
 
71 71
         return new AnnotationDriver($reader, (array) $paths);
72 72
     }
@@ -105,10 +105,10 @@  discard block
 block discarded – undo
105 105
         $config->setAutoGenerateProxyClasses(ProxyFactory::AUTOGENERATE_EVAL);
106 106
         $config->setMetadataDriverImpl(
107 107
             $config->newDefaultAnnotationDriver([
108
-                realpath(__DIR__ . '/Models/Cache'),
109
-                realpath(__DIR__ . '/Models/GeoNames'),
110
-                realpath(__DIR__ . '/Models/CMS'),
111
-                realpath(__DIR__ . '/Models/IdentityIsAssociation'),
108
+                realpath(__DIR__.'/Models/Cache'),
109
+                realpath(__DIR__.'/Models/GeoNames'),
110
+                realpath(__DIR__.'/Models/CMS'),
111
+                realpath(__DIR__.'/Models/IdentityIsAssociation'),
112 112
             ])
113 113
         );
114 114
 
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             $conn = DriverManager::getConnection($conn, $config, $eventManager);
138 138
         }
139 139
 
140
-        if (! ($metadatas instanceof MetadataCollection)){
140
+        if ( ! ($metadatas instanceof MetadataCollection)) {
141 141
             $eventManager = new EventManager();
142 142
             $metadataFactory = new ClassMetadataFactory($config, $conn, $eventManager);
143 143
             $metadatas = MetadataCollection::fromClassMetadatas($metadataFactory->getAllMetadata());
Please login to merge, or discard this patch.