Passed
Pull Request — master (#5)
by
unknown
08:17
created
reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,6 @@
 block discarded – undo
26 26
      */
27 27
     public function format(Tag $tag)
28 28
     {
29
-        return trim('@' . $tag->getName() . ' ' . (string)$tag);
29
+        return trim('@'.$tag->getName().' '.(string) $tag);
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
reflection-docblock/src/DocBlock/Tags/Formatter/AlignFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,6 +42,6 @@
 block discarded – undo
42 42
      */
43 43
     public function format(Tag $tag)
44 44
     {
45
-        return '@' . $tag->getName() . str_repeat(' ', $this->maxLen - strlen($tag->getName()) + 1) . (string)$tag;
45
+        return '@'.$tag->getName().str_repeat(' ', $this->maxLen - strlen($tag->getName()) + 1).(string) $tag;
46 46
     }
47 47
 }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -65,14 +65,14 @@  discard block
 block discarded – undo
65 65
     public function getContent()
66 66
     {
67 67
         if (null === $this->description) {
68
-            $filePath = '"' . $this->filePath . '"';
68
+            $filePath = '"'.$this->filePath.'"';
69 69
             if ($this->isURI) {
70 70
                 $filePath = $this->isUriRelative($this->filePath)
71 71
                     ? str_replace('%2F', '/', rawurlencode($this->filePath))
72 72
                     :$this->filePath;
73 73
             }
74 74
 
75
-            return trim($filePath . ' ' . parent::getDescription());
75
+            return trim($filePath.' '.parent::getDescription());
76 76
         }
77 77
 
78 78
         return $this->description;
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     public static function create($body)
85 85
     {
86 86
         // File component: File path in quotes or File URI / Source information
87
-        if (! preg_match('/^(?:\"([^\"]+)\"|(\S+))(?:\s+(.*))?$/sux', $body, $matches)) {
87
+        if (!preg_match('/^(?:\"([^\"]+)\"|(\S+))(?:\s+(.*))?$/sux', $body, $matches)) {
88 88
             return null;
89 89
         }
90 90
 
@@ -105,9 +105,9 @@  discard block
 block discarded – undo
105 105
 
106 106
             // Starting line / Number of lines / Description
107 107
             if (preg_match('/^([1-9]\d*)(?:\s+((?1))\s*)?(.*)$/sux', $matches[3], $contentMatches)) {
108
-                $startingLine = (int)$contentMatches[1];
108
+                $startingLine = (int) $contentMatches[1];
109 109
                 if (isset($contentMatches[2]) && $contentMatches[2] !== '') {
110
-                    $lineCount = (int)$contentMatches[2];
110
+                    $lineCount = (int) $contentMatches[2];
111 111
                 }
112 112
 
113 113
                 if (array_key_exists(3, $contentMatches)) {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         }
118 118
 
119 119
         return new static(
120
-            $filePath !== null?$filePath:$fileUri,
120
+            $filePath !== null ? $filePath : $fileUri,
121 121
             $fileUri !== null,
122 122
             $startingLine,
123 123
             $lineCount,
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function __toString()
145 145
     {
146
-        return $this->filePath . ($this->description ? ' ' . $this->description : '');
146
+        return $this->filePath.($this->description ? ' '.$this->description : '');
147 147
     }
148 148
 
149 149
     /**
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
@@ -99,8 +99,8 @@
 block discarded – undo
99 99
      */
100 100
     public function __toString()
101 101
     {
102
-        return ($this->type ? $this->type . ' ' : '')
103
-            . '$' . $this->variableName
104
-            . ($this->description ? ' ' . $this->description : '');
102
+        return ($this->type ? $this->type.' ' : '')
103
+            . '$'.$this->variableName
104
+            . ($this->description ? ' '.$this->description : '');
105 105
     }
106 106
 }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,6 +83,6 @@
 block discarded – undo
83 83
      */
84 84
     public function __toString()
85 85
     {
86
-        return $this->refers . ($this->description ? ' ' . $this->description->render() : '');
86
+        return $this->refers.($this->description ? ' '.$this->description->render() : '');
87 87
     }
88 88
 }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,9 +81,9 @@
 block discarded – undo
81 81
      */
82 82
     private function validateTagName($name)
83 83
     {
84
-        if (! preg_match('/^' . StandardTagFactory::REGEX_TAGNAME . '$/u', $name)) {
84
+        if (!preg_match('/^'.StandardTagFactory::REGEX_TAGNAME.'$/u', $name)) {
85 85
             throw new \InvalidArgumentException(
86
-                'The tag name "' . $name . '" is not wellformed. Tags may only consist of letters, underscores, '
86
+                'The tag name "'.$name.'" is not wellformed. Tags may only consist of letters, underscores, '
87 87
                 . 'hyphens and backslashes.'
88 88
             );
89 89
         }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,9 +124,9 @@
 block discarded – undo
124 124
      */
125 125
     public function __toString()
126 126
     {
127
-        return ($this->type ? $this->type . ' ' : '')
127
+        return ($this->type ? $this->type.' ' : '')
128 128
             . ($this->isVariadic() ? '...' : '')
129
-            . '$' . $this->variableName
130
-            . ($this->description ? ' ' . $this->description : '');
129
+            . '$'.$this->variableName
130
+            . ($this->description ? ' '.$this->description : '');
131 131
     }
132 132
 }
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
@@ -78,6 +78,6 @@
 block discarded – undo
78 78
      */
79 79
     public function __toString()
80 80
     {
81
-        return $this->refers . ($this->description ? ' ' . $this->description->render() : '');
81
+        return $this->refers.($this->description ? ' '.$this->description->render() : '');
82 82
     }
83 83
 }
Please login to merge, or discard this patch.
vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,6 +53,6 @@
 block discarded – undo
53 53
 
54 54
     public function __toString()
55 55
     {
56
-        return $this->type . ' ' . $this->description;
56
+        return $this->type.' '.$this->description;
57 57
     }
58 58
 }
Please login to merge, or discard this patch.