Failed Conditions
Push — master ( 564503...02f6c2 )
by Marco
01:14
created
lib/Doctrine/Annotations/AnnotationReader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         $this->parser->setIgnoredAnnotationNames($this->getIgnoredAnnotationNames($class));
142 142
         $this->parser->setIgnoredAnnotationNamespaces(self::$globalIgnoredNamespaces);
143 143
 
144
-        return $this->parser->parse($class->getDocComment(), 'class ' . $class->getName());
144
+        return $this->parser->parse($class->getDocComment(), 'class '.$class->getName());
145 145
     }
146 146
 
147 147
     /**
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     public function getPropertyAnnotations(ReflectionProperty $property)
167 167
     {
168 168
         $class   = $property->getDeclaringClass();
169
-        $context = 'property ' . $class->getName() . "::\$" . $property->getName();
169
+        $context = 'property '.$class->getName()."::\$".$property->getName();
170 170
 
171 171
         $this->parser->setTarget(Target::TARGET_PROPERTY);
172 172
         $this->parser->setImports($this->getPropertyImports($property));
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     public function getMethodAnnotations(ReflectionMethod $method)
199 199
     {
200 200
         $class   = $method->getDeclaringClass();
201
-        $context = 'method ' . $class->getName() . '::' . $method->getName() . '()';
201
+        $context = 'method '.$class->getName().'::'.$method->getName().'()';
202 202
 
203 203
         $this->parser->setTarget(Target::TARGET_METHOD);
204 204
         $this->parser->setImports($this->getMethodImports($method));
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
     private function collectParsingMetadata(ReflectionClass $class)
319 319
     {
320 320
         $ignoredAnnotationNames = self::$globalIgnoredNames;
321
-        $annotations            = $this->preParser->parse($class->getDocComment(), 'class ' . $class->name);
321
+        $annotations            = $this->preParser->parse($class->getDocComment(), 'class '.$class->name);
322 322
 
323 323
         foreach ($annotations as $annotation) {
324 324
             if ($annotation instanceof IgnoreAnnotation) {
Please login to merge, or discard this patch.