Passed
Push — 1.2 ( 5d901c...d9094a )
by
unknown
08:29
created
code/extensions/CwpCommentingExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,6 +20,6 @@
 block discarded – undo
20 20
 		$fields
21 21
 			->dataFieldByName('URL')
22 22
 			->setTitle('Your website (optional)')
23
-			->setAttribute('placeholder','http://');
23
+			->setAttribute('placeholder', 'http://');
24 24
 	}
25 25
 }
Please login to merge, or discard this patch.
tasks/CleanupGeneratedPdf.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,12 +8,12 @@
 block discarded – undo
8 8
 
9 9
 	public function run($request) {
10 10
 		$path = sprintf('%s/%s', BASE_PATH, BasePage::config()->generated_pdf_path);
11
-		if(!file_exists($path)) return false;
11
+		if (!file_exists($path)) return false;
12 12
 
13 13
 		exec(sprintf('rm %s/*', $path), $output, $return_val);
14 14
 
15 15
 		// output any errors
16
-		if($return_val != 0) {
16
+		if ($return_val != 0) {
17 17
 			user_error(sprintf('%s failed: ', get_class($this)) . implode("\n", $output), E_USER_ERROR);
18 18
 		}
19 19
 	}
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,9 @@
 block discarded – undo
8 8
 
9 9
 	public function run($request) {
10 10
 		$path = sprintf('%s/%s', BASE_PATH, BasePage::config()->generated_pdf_path);
11
-		if(!file_exists($path)) return false;
11
+		if(!file_exists($path)) {
12
+			return false;
13
+		}
12 14
 
13 15
 		exec(sprintf('rm %s/*', $path), $output, $return_val);
14 16
 
Please login to merge, or discard this patch.