Passed
Pull Request — master (#21)
by
unknown
02:08
created
lib/Doctrine/Persistence/Mapping/AbstractClassMetadataFactory.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public function getAllMetadata()
84 84
     {
85
-        if (! $this->initialized) {
85
+        if (!$this->initialized) {
86 86
             $this->initialize();
87 87
         }
88 88
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 
166 166
         try {
167 167
             if ($this->cacheDriver) {
168
-                $cached = $this->cacheDriver->fetch($className . $this->cacheSalt);
168
+                $cached = $this->cacheDriver->fetch($className.$this->cacheSalt);
169 169
                 if ($cached instanceof ClassMetadata) {
170 170
                     $this->loadedMetadata[$className] = $cached;
171 171
 
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         } catch (MappingException $loadingException) {
180 180
             $fallbackMetadataResponse = $this->onNotFoundMetadata($className);
181 181
 
182
-            if (! $fallbackMetadataResponse) {
182
+            if (!$fallbackMetadataResponse) {
183 183
                 throw $loadingException;
184 184
             }
185 185
 
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
         }
224 224
 
225 225
         $this->cacheDriver->save(
226
-            $className . $this->cacheSalt,
226
+            $className.$this->cacheSalt,
227 227
             $this->loadedMetadata[$className],
228 228
             null
229 229
         );
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
      */
269 269
     protected function loadMetadata($name)
270 270
     {
271
-        if (! $this->initialized) {
271
+        if (!$this->initialized) {
272 272
             $this->initialize();
273 273
         }
274 274
 
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
      */
355 355
     public function isTransient($class)
356 356
     {
357
-        if (! $this->initialized) {
357
+        if (!$this->initialized) {
358 358
             $this->initialize();
359 359
         }
360 360
 
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
                 [$namespaceAlias, $simpleClassName] = explode(':', $className, 2);
409 409
                 $realClassName                      = $this->getFqcnFromAlias($namespaceAlias, $simpleClassName);
410 410
                 break;
411
-            case $pos = strrpos($className, '\\' . Proxy::MARKER . '\\') !== false: // Check for namespace proxy
411
+            case $pos = strrpos($className, '\\'.Proxy::MARKER.'\\') !== false: // Check for namespace proxy
412 412
                 $realClassName = substr($className, $pos + Proxy::MARKER_LENGTH + 2);
413 413
                 break;
414 414
             default:
Please login to merge, or discard this patch.