Test Failed
Push — master ( 72a6c5...9329b7 )
by Arun
03:52
created
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 
87 87
         $tags = [];
88 88
         foreach ($this->tags as $tag) {
89
-            $tags[] = '{' . $formatter->format($tag) . '}';
89
+            $tags[] = '{'.$formatter->format($tag).'}';
90 90
         }
91 91
         return vsprintf($this->bodyTemplate, $tags);
92 92
     }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         TypeContext $context = null
71 71
     ) {
72 72
         Assert::stringNotEmpty($body);
73
-        Assert::allNotNull([ $typeResolver, $descriptionFactory ]);
73
+        Assert::allNotNull([$typeResolver, $descriptionFactory]);
74 74
 
75 75
         // 1. none or more whitespace
76 76
         // 2. optionally the keyword "static" followed by whitespace
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
         if ('' !== $arguments) {
128 128
             $arguments = explode(',', $arguments);
129
-            foreach($arguments as &$argument) {
129
+            foreach ($arguments as &$argument) {
130 130
                 $argument = explode(' ', self::stripRestArg(trim($argument)), 2);
131 131
                 if ($argument[0][0] === '$') {
132 132
                     $argumentName = substr($argument[0], 1);
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
                     }
141 141
                 }
142 142
 
143
-                $argument = [ 'name' => $argumentName, 'type' => $argumentType];
143
+                $argument = ['name' => $argumentName, 'type' => $argumentType];
144 144
             }
145 145
         } else {
146 146
             $arguments = [];
@@ -189,29 +189,29 @@  discard block
 block discarded – undo
189 189
     {
190 190
         $arguments = [];
191 191
         foreach ($this->arguments as $argument) {
192
-            $arguments[] = $argument['type'] . ' $' . $argument['name'];
192
+            $arguments[] = $argument['type'].' $'.$argument['name'];
193 193
         }
194 194
 
195 195
         return ($this->isStatic() ? 'static ' : '')
196
-            . (string)$this->returnType . ' '
196
+            . (string) $this->returnType.' '
197 197
             . $this->methodName
198
-            . '(' . implode(', ', $arguments) . ')'
199
-            . ($this->description ? ' ' . $this->description->render() : '');
198
+            . '('.implode(', ', $arguments).')'
199
+            . ($this->description ? ' '.$this->description->render() : '');
200 200
     }
201 201
 
202 202
     private function filterArguments($arguments)
203 203
     {
204 204
         foreach ($arguments as &$argument) {
205 205
             if (is_string($argument)) {
206
-                $argument = [ 'name' => $argument ];
206
+                $argument = ['name' => $argument];
207 207
             }
208
-            if (! isset($argument['type'])) {
208
+            if (!isset($argument['type'])) {
209 209
                 $argument['type'] = new Void_();
210 210
             }
211 211
             $keys = array_keys($argument);
212
-            if ($keys !== [ 'name', 'type' ]) {
212
+            if ($keys !== ['name', 'type']) {
213 213
                 throw new \InvalidArgumentException(
214
-                    'Arguments can only have the "name" and "type" fields, found: ' . var_export($keys, true)
214
+                    'Arguments can only have the "name" and "type" fields, found: '.var_export($keys, true)
215 215
                 );
216 216
             }
217 217
         }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,6 +79,6 @@
 block discarded – undo
79 79
      */
80 80
     public function __toString()
81 81
     {
82
-        return $this->refers . ($this->description ? ' ' . $this->description->render() : '');
82
+        return $this->refers.($this->description ? ' '.$this->description->render() : '');
83 83
     }
84 84
 }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,8 +111,8 @@
 block discarded – undo
111 111
      */
112 112
     public function __toString()
113 113
     {
114
-        return ($this->type ? $this->type . ' ' : '')
115
-        . '$' . $this->variableName
116
-        . ($this->description ? ' ' . $this->description : '');
114
+        return ($this->type ? $this->type.' ' : '')
115
+        . '$'.$this->variableName
116
+        . ($this->description ? ' '.$this->description : '');
117 117
     }
118 118
 }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      */
74 74
     public function __toString()
75 75
     {
76
-        return $this->authorName . '<' . $this->authorEmail . '>';
76
+        return $this->authorName.'<'.$this->authorEmail.'>';
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,8 +111,8 @@
 block discarded – undo
111 111
      */
112 112
     public function __toString()
113 113
     {
114
-        return ($this->type ? $this->type . ' ' : '')
115
-        . '$' . $this->variableName
116
-        . ($this->description ? ' ' . $this->description : '');
114
+        return ($this->type ? $this->type.' ' : '')
115
+        . '$'.$this->variableName
116
+        . ($this->description ? ' '.$this->description : '');
117 117
     }
118 118
 }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,8 +111,8 @@
 block discarded – undo
111 111
      */
112 112
     public function __toString()
113 113
     {
114
-        return ($this->type ? $this->type . ' ' : '')
115
-        . '$' . $this->variableName
116
-        . ($this->description ? ' ' . $this->description : '');
114
+        return ($this->type ? $this->type.' ' : '')
115
+        . '$'.$this->variableName
116
+        . ($this->description ? ' '.$this->description : '');
117 117
     }
118 118
 }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         }
63 63
 
64 64
         $matches = [];
65
-        if (! preg_match('/^(' . self::REGEX_VECTOR . ')\s*(.+)?$/sux', $body, $matches)) {
65
+        if (!preg_match('/^('.self::REGEX_VECTOR.')\s*(.+)?$/sux', $body, $matches)) {
66 66
             return null;
67 67
         }
68 68
 
@@ -89,6 +89,6 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function __toString()
91 91
     {
92
-        return $this->version . ($this->description ? ' ' . $this->description->render() : '');
92
+        return $this->version.($this->description ? ' '.$this->description->render() : '');
93 93
     }
94 94
 }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,8 +111,8 @@
 block discarded – undo
111 111
      */
112 112
     public function __toString()
113 113
     {
114
-        return ($this->type ? $this->type . ' ' : '')
115
-        . '$' . $this->variableName
116
-        . ($this->description ? ' ' . $this->description : '');
114
+        return ($this->type ? $this->type.' ' : '')
115
+        . '$'.$this->variableName
116
+        . ($this->description ? ' '.$this->description : '');
117 117
     }
118 118
 }
Please login to merge, or discard this patch.