Completed
Push — master ( fd88a6...8479c6 )
by Naveen
15:14 queued 06:42
created
vendor/composer/ClassLoader.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -341,6 +341,10 @@
 block discarded – undo
341 341
         return $file;
342 342
     }
343 343
 
344
+    /**
345
+     * @param string $class
346
+     * @param string $ext
347
+     */
344 348
     private function findFileWithExtension($class, $ext)
345 349
     {
346 350
         // PSR-4 lookup
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -271,7 +271,6 @@
 block discarded – undo
271 271
      * Sets the text portion (short and long description combined) of the doc
272 272
      * block.
273 273
      *
274
-     * @param string $docblock The new text portion of the doc block.
275 274
      * 
276 275
      * @return $this This doc block.
277 276
      */
Please login to merge, or discard this patch.
reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Location.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * 
47
-     * @param type $lineNumber
47
+     * @param integer $lineNumber
48 48
      * @return $this
49 49
      */
50 50
     public function setLineNumber($lineNumber)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function setLineNumber($lineNumber)
51 51
     {
52
-        $this->lineNumber = (int)$lineNumber;
52
+        $this->lineNumber = (int) $lineNumber;
53 53
 
54 54
         return $this;
55 55
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function setColumnNumber($columnNumber)
71 71
     {
72
-        $this->columnNumber = (int)$columnNumber;
72
+        $this->columnNumber = (int) $columnNumber;
73 73
 
74 74
         return $this;
75 75
     }
Please login to merge, or discard this patch.
reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Serializer.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Sets the string to indent comments with.
63 63
      * 
64
-     * @param string $indentationString The string to indent comments with.
64
+     * @param string $indentString The string to indent comments with.
65 65
      * 
66 66
      * @return $this This serializer object.
67 67
      */
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * Generate a DocBlock comment.
163 163
      *
164
-     * @param DocBlock The DocBlock to serialize.
164
+     * @param DocBlock  DocBlock to serialize.
165 165
      * 
166 166
      * @return string The serialized doc block.
167 167
      */
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public function setIndentationString($indentString)
69 69
     {
70
-        $this->indentString = (string)$indentString;
70
+        $this->indentString = (string) $indentString;
71 71
         return $this;
72 72
     }
73 73
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     public function setIndent($indent)
92 92
     {
93
-        $this->indent = (int)$indent;
93
+        $this->indent = (int) $indent;
94 94
         return $this;
95 95
     }
96 96
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public function setIsFirstLineIndented($indentFirstLine)
118 118
     {
119
-        $this->isFirstLineIndented = (bool)$indentFirstLine;
119
+        $this->isFirstLineIndented = (bool) $indentFirstLine;
120 120
         return $this;
121 121
     }
122 122
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function setLineLength($lineLength)
145 145
     {
146
-        $this->lineLength = null === $lineLength ? null : (int)$lineLength;
146
+        $this->lineLength = null === $lineLength ? null : (int) $lineLength;
147 147
         return $this;
148 148
     }
149 149
 
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/DocBlock/Type/Collection.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,6 @@
 block discarded – undo
56 56
      *
57 57
      * @param string[] $types    Array containing a list of types to add to this
58 58
      *     container.
59
-     * @param Context  $location The current invoking location.
60 59
      */
61 60
     public function __construct(
62 61
         array $types = array(),
Please login to merge, or discard this patch.
tests/phpDocumentor/Reflection/DocBlock/Tag/ExampleTagTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      * @param string $exContent
32 32
      * @param string $exStartingLine
33 33
      * @param string $exLineCount
34
-     * @param string $exFilepath
34
+     * @param string $exFilePath
35 35
      *
36 36
      * @covers \phpDocumentor\Reflection\DocBlock\Tag\ExampleTag
37 37
      * @dataProvider provideDataForConstuctor
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/spec/Prophecy/Prophecy/ObjectProphecySpec.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -312,6 +312,9 @@
 block discarded – undo
312 312
     public $errors;
313 313
     public $value = null;
314 314
 
315
+    /**
316
+     * @param string $value
317
+     */
315 318
     public function __construct($value)
316 319
     {
317 320
         $this->value = $value;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -295,8 +295,8 @@
 block discarded – undo
295 295
     {
296 296
         $doubler->double(Argument::any())->willReturn($reflection);
297 297
 
298
-        $this->addMethodProphecy($methodProphecy1 = $this->getProphecy(function(){}));
299
-        $methodProphecy2 = $this->getProphecy(function(){});
298
+        $this->addMethodProphecy($methodProphecy1 = $this->getProphecy(function() {}));
299
+        $methodProphecy2 = $this->getProphecy(function() {});
300 300
 
301 301
         $methodProphecy2->shouldNotBe($methodProphecy1);
302 302
     }
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ExactValueToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Scores 10 if argument matches preset value.
47 47
      *
48
-     * @param $argument
48
+     * @param string $argument
49 49
      *
50 50
      * @return bool|int
51 51
      */
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/src/Prophecy/Call/CallCenter.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -126,6 +126,9 @@
 block discarded – undo
126 126
         );
127 127
     }
128 128
 
129
+    /**
130
+     * @param string $methodName
131
+     */
129 132
     private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName,
130 133
                                                    array $arguments)
131 134
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         }
84 84
 
85 85
         // Sort matches by their score value
86
-        @usort($matches, function ($match1, $match2) { return $match2[0] - $match1[0]; });
86
+        @usort($matches, function($match1, $match2) { return $match2[0] - $match1[0]; });
87 87
 
88 88
         // If Highest rated method prophecy has a promise - execute it or return null instead
89 89
         $returnValue = null;
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     public function findCalls($methodName, ArgumentsWildcard $wildcard)
119 119
     {
120 120
         return array_values(
121
-            array_filter($this->recordedCalls, function (Call $call) use ($methodName, $wildcard) {
121
+            array_filter($this->recordedCalls, function(Call $call) use ($methodName, $wildcard) {
122 122
                 return $methodName === $call->getMethodName()
123 123
                     && 0 < $wildcard->scoreArguments($call->getArguments())
124 124
                 ;
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     {
132 132
         $classname = get_class($prophecy->reveal());
133 133
         $argstring = implode(', ', array_map(array($this->util, 'stringify'), $arguments));
134
-        $expected  = implode("\n", array_map(function (MethodProphecy $methodProphecy) {
134
+        $expected  = implode("\n", array_map(function(MethodProphecy $methodProphecy) {
135 135
             return sprintf('  - %s(%s)',
136 136
                 $methodProphecy->getMethodName(),
137 137
                 $methodProphecy->getArgumentsWildcard()
@@ -140,8 +140,8 @@  discard block
 block discarded – undo
140 140
 
141 141
         return new UnexpectedCallException(
142 142
             sprintf(
143
-                "Method call:\n".
144
-                "  - %s(%s)\n".
143
+                "Method call:\n" .
144
+                "  - %s(%s)\n" .
145 145
                 "on %s was not expected, expected calls were:\n%s",
146 146
 
147 147
                 $methodName, $argstring, $classname, $expected
Please login to merge, or discard this patch.