Failed Conditions
Push — master ( ecccd5...ae55c7 )
by Marco
33s
created
lib/Doctrine/Annotations/DocParser.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -553,7 +553,7 @@  discard block
 block discarded – undo
553 553
         }
554 554
 
555 555
         // Checks if the property has type[]
556
-         if (false !== $pos = strrpos($type, '[')) {
556
+            if (false !== $pos = strrpos($type, '[')) {
557 557
             $arrayType = substr($type, 0, $pos);
558 558
 
559 559
             $metadata->withType(new ArrayType(new MixedType(), $this->createTypeFromName($arrayType)));
@@ -723,7 +723,7 @@  discard block
 block discarded – undo
723 723
         if (($metadata->getTarget()->unwrap() & $target) === 0 && $target) {
724 724
             throw AnnotationException::semanticalError(
725 725
                 sprintf('Annotation @%s is not allowed to be declared on %s. You may only use this annotation on these code elements: %s.',
726
-                     $originalName, $this->context, $metadata->getTarget()->describe())
726
+                        $originalName, $this->context, $metadata->getTarget()->describe())
727 727
             );
728 728
         }
729 729
 
@@ -915,9 +915,9 @@  discard block
 block discarded – undo
915 915
                 case !empty ($this->namespaces):
916 916
                     foreach ($this->namespaces as $ns) {
917 917
                         if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) {
918
-                             $className = $ns.'\\'.$className;
919
-                             $found = true;
920
-                             break;
918
+                                $className = $ns.'\\'.$className;
919
+                                $found = true;
920
+                                break;
921 921
                         }
922 922
                     }
923 923
                     break;
@@ -942,7 +942,7 @@  discard block
 block discarded – undo
942 942
             }
943 943
 
944 944
             if ($found) {
945
-                 $identifier = $className . '::' . $const;
945
+                    $identifier = $className . '::' . $const;
946 946
             }
947 947
         }
948 948
 
Please login to merge, or discard this patch.