Passed
Push — master ( e80cc4...985167 )
by Mihail
02:07
created
src/Payload.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,9 @@
 block discarded – undo
78 78
 	}
79 79
 
80 80
 	public function setCode($code) {
81
-		if (!\is_numeric($code)) throw new \InvalidArgumentException('expected numeric');
81
+		if (!\is_numeric($code)) {
82
+			throw new \InvalidArgumentException('expected numeric');
83
+		}
82 84
 		$this->code = $code;
83 85
 		return $this;
84 86
 	}
Please login to merge, or discard this patch.
src/Application.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -493,7 +493,9 @@  discard block
 block discarded – undo
493 493
 		}
494 494
 
495 495
 		foreach (array_reverse($releases) as $idx => $release) {
496
-			if ($idx <= ($quantity - 1)) continue;
496
+			if ($idx <= ($quantity - 1)) {
497
+				continue;
498
+			}
497 499
 			$proccess = new Process('rm -r ' . $release);
498 500
 			$proccess->run();
499 501
 		}
@@ -505,7 +507,9 @@  discard block
 block discarded – undo
505 507
 	}
506 508
 
507 509
 	public function absolutePath($path, $cwd) {
508
-		if ($path[0] == '/') return $path;
510
+		if ($path[0] == '/') {
511
+			return $path;
512
+		}
509 513
 		return $cwd . DIRECTORY_SEPARATOR . $path;
510 514
 	}
511 515
 
Please login to merge, or discard this patch.