Completed
Push — master ( fc895f...00e4a7 )
by Kenji
03:57 queued 01:31
created
tests/_ci_phpunit_test/patcher/4.x/Patcher/MethodPatcher/NodeVisitor.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
 	public function leaveNode(Node $node)
22 22
 	{
23
-		if (! $node instanceof ClassMethod) {
23
+		if ( ! $node instanceof ClassMethod) {
24 24
 			return;
25 25
 		}
26 26
 
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 
29 29
 		if ($node->returnType !== null) {
30 30
 			if (isset($node->returnType->name) && $node->returnType->name === 'void') {
31
-				$ast = $parser->parse('<?php ' . MethodPatcher::CODENORET);
31
+				$ast = $parser->parse('<?php '.MethodPatcher::CODENORET);
32 32
 			} elseif (isset($node->returnType->parts) && $node->returnType->parts[0] === 'void') {
33
-				$ast = $parser->parse('<?php ' . MethodPatcher::CODENORET);
33
+				$ast = $parser->parse('<?php '.MethodPatcher::CODENORET);
34 34
 			} else {
35
-				$ast = $parser->parse('<?php ' . MethodPatcher::CODE);
35
+				$ast = $parser->parse('<?php '.MethodPatcher::CODE);
36 36
 			}
37 37
 		} else {
38
-			$ast = $parser->parse('<?php ' . MethodPatcher::CODE);
38
+			$ast = $parser->parse('<?php '.MethodPatcher::CODE);
39 39
 		}
40 40
 
41 41
 		if ($node->stmts !== null) {
Please login to merge, or discard this patch.
application/tests/_ci_phpunit_test/patcher/4.x/Patcher/FunctionPatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
 
11 11
 namespace Kenjis\MonkeyPatch\Patcher;
12 12
 
13
-require __DIR__ . '/FunctionPatcher/NodeVisitor.php';
14
-require __DIR__ . '/FunctionPatcher/Proxy.php';
13
+require __DIR__.'/FunctionPatcher/NodeVisitor.php';
14
+require __DIR__.'/FunctionPatcher/Proxy.php';
15 15
 
16 16
 use Kenjis\MonkeyPatch\Patcher\FunctionPatcher\NodeVisitor;
17 17
 use LogicException;
Please login to merge, or discard this patch.
application/tests/_ci_phpunit_test/patcher/4.x/Patcher/ConstantPatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
 
11 11
 namespace Kenjis\MonkeyPatch\Patcher;
12 12
 
13
-require __DIR__ . '/ConstantPatcher/NodeVisitor.php';
14
-require __DIR__ . '/ConstantPatcher/Proxy.php';
13
+require __DIR__.'/ConstantPatcher/NodeVisitor.php';
14
+require __DIR__.'/ConstantPatcher/Proxy.php';
15 15
 
16 16
 use Kenjis\MonkeyPatch\Patcher\ConstantPatcher\NodeVisitor;
17 17
 
Please login to merge, or discard this patch.
application/tests/_ci_phpunit_test/patcher/4.x/Patcher/MethodPatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
 
11 11
 namespace Kenjis\MonkeyPatch\Patcher;
12 12
 
13
-require __DIR__ . '/MethodPatcher/NodeVisitor.php';
14
-require __DIR__ . '/MethodPatcher/PatchManager.php';
13
+require __DIR__.'/MethodPatcher/NodeVisitor.php';
14
+require __DIR__.'/MethodPatcher/PatchManager.php';
15 15
 
16 16
 use Kenjis\MonkeyPatch\Patcher\MethodPatcher\NodeVisitor;
17 17
 
Please login to merge, or discard this patch.