Completed
Push — master ( b7dfd2...d82f0a )
by Дмитрий
15:04 queued 12:13
created
src/Compiler/Statement/ForeachSt.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * @param \PhpParser\Node\Stmt\Foreach_ $stmt
19 19
      * @param Context $context
20
-     * @return CompiledExpression
20
+     * @return null|boolean
21 21
      */
22 22
     public function compile($stmt, Context $context)
23 23
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use PHPSA\CompiledExpression;
9 9
 use PHPSA\Context;
10
-use PHPSA\Compiler\Expression;
11 10
 
12 11
 class TryCatchSt extends AbstractCompiler
13 12
 {
Please login to merge, or discard this patch.
src/Context.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
     }
242 242
 
243 243
     /**
244
-     * @return int|string
244
+     * @return integer
245 245
      */
246 246
     public function getCurrentBranch()
247 247
     {
Please login to merge, or discard this patch.
src/Definition/ClassDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
     }
201 201
 
202 202
     /**
203
-     * @param $name
203
+     * @param string $name
204 204
      * @param bool $inherit
205 205
      * @return Node\Stmt\Property
206 206
      */
Please login to merge, or discard this patch.
src/Definition/ClassMethod.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
     protected $possibleReturnValues = array();
39 39
 
40 40
     /**
41
-     * @param $name
41
+     * @param string $name
42 42
      * @param Node\Stmt\ClassMethod $statement
43
-     * @param $type
43
+     * @param integer $type
44 44
      */
45 45
     public function __construct($name, Node\Stmt\ClassMethod $statement, $type)
46 46
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
     /**
117 117
      * @param Context $context
118
-     * @param array|null $args
118
+     * @param Node\Arg[] $args
119 119
      * @return CompiledExpression
120 120
      * @throws \PHPSA\Exception\RuntimeException
121 121
      */
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     }
173 173
 
174 174
     /**
175
-     * @param $newType
175
+     * @param integer $newType
176 176
      */
177 177
     public function addNewType($newType)
178 178
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use PHPSA\CompiledExpression;
9 9
 use PHPSA\Context;
10
-use PHPSA\Compiler\Expression;
11 10
 
12 11
 class TryCatchSt extends AbstractCompiler
13 12
 {
Please login to merge, or discard this patch.
src/Compiler/Statement/ReturnSt.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use PHPSA\CompiledExpression;
9 9
 use PHPSA\Context;
10
-use PHPSA\Compiler\Expression;
11 10
 
12 11
 class TryCatchSt extends AbstractCompiler
13 12
 {
Please login to merge, or discard this patch.
tests/PHPSA/TestCase.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param $actual
40
+     * @param CompiledExpression $actual
41 41
      * @param string $message
42 42
      */
43 43
     protected function assertInstanceOfCompiledExpression($actual, $message = '')
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 use PHPSA\CompiledExpression;
9 9
 use PHPSA\Context;
10
-use PHPSA\Compiler\Expression;
11 10
 
12 11
 class TryCatchSt extends AbstractCompiler
13 12
 {
Please login to merge, or discard this patch.
src/Analyzer/Pass/Expression/FunctionCall/DeprecatedIniOptions.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 namespace PHPSA\Analyzer\Pass\FunctionCall;
7 7
 
8 8
 use PhpParser\Node\Expr\FuncCall;
9
-use PhpParser\Node\Name;
10 9
 use PHPSA\Compiler\Expression;
11 10
 use PHPSA\Context;
12 11
 
Please login to merge, or discard this patch.