Completed
Pull Request — master (#183)
by Moshe
02:22
created
src/Parser/CommandInfo.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
      */
245 245
     public function replaceRawAnnotations($annotationData)
246 246
     {
247
-        $this->otherAnnotations = new AnnotationData((array) $annotationData);
247
+        $this->otherAnnotations = new AnnotationData((array)$annotationData);
248 248
         return $this;
249 249
     }
250 250
 
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
         $opts = $this->options()->getValues();
523 523
         foreach ($opts as $name => $defaultValue) {
524 524
             if ($defaultValue === true) {
525
-                $key = 'no-' . $name;
525
+                $key = 'no-'.$name;
526 526
                 if (!array_key_exists($key, $opts)) {
527 527
                     $description = "Negate --$name option.";
528 528
                     $this->options()->add($key, $description, false);
@@ -752,8 +752,8 @@  discard block
 block discarded – undo
752 752
      */
753 753
     protected function convertName($camel)
754 754
     {
755
-        $splitter="-";
756
-        $camel=preg_replace('/(?!^)[[:upper:]][[:lower:]]/', '$0', preg_replace('/(?!^)[[:upper:]]+/', $splitter.'$0', $camel));
755
+        $splitter = "-";
756
+        $camel = preg_replace('/(?!^)[[:upper:]][[:lower:]]/', '$0', preg_replace('/(?!^)[[:upper:]]+/', $splitter.'$0', $camel));
757 757
         $camel = preg_replace("/$splitter/", ':', $camel, 1);
758 758
         return strtolower($camel);
759 759
     }
Please login to merge, or discard this patch.