Completed
Push — master ( ba6e98...850cec )
by Morris
02:23
created
lib/Db/Card.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,16 +64,16 @@
 block discarded – undo
64 64
 		$due = strtotime($this->duedate);
65 65
 
66 66
 		$today = new DateTime();
67
-		$today->setTime( 0, 0, 0 );
67
+		$today->setTime(0, 0, 0);
68 68
 
69 69
 		$match_date = new DateTime($this->duedate);
70 70
 
71
-		$match_date->setTime( 0, 0, 0 );
71
+		$match_date->setTime(0, 0, 0);
72 72
 
73
-		$diff = $today->diff( $match_date );
74
-		$diffDays = (integer)$diff->format( "%R%a" ); // Extract days count in interval
73
+		$diff = $today->diff($match_date);
74
+		$diffDays = (integer) $diff->format("%R%a"); // Extract days count in interval
75 75
 
76
-		if($due !== false) {
76
+		if ($due !== false) {
77 77
 			if ($diffDays === 1) {
78 78
 				$json['overdue'] = self::DUEDATE_NEXT;
79 79
 			}
Please login to merge, or discard this patch.
templates/main.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 Util::addScript('deck', 'vendor/markdown-it-link-target/dist/markdown-it-link-target.min');
39 39
 Util::addScript('deck', 'vendor/jquery-timepicker/jquery.ui.timepicker');
40 40
 
41
-if(!\OC::$server->getConfig()->getSystemValue('debug', false)) {
41
+if (!\OC::$server->getConfig()->getSystemValue('debug', false)) {
42 42
 	Util::addScript('deck', 'public/app');
43 43
 } else {
44 44
 	// Load seperate JS files when debug mode is enabled
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
 		'filters' => ['boardFilterAcl', 'cardFilter', 'cardSearchFilter', 'iconWhiteFilter', 'lightenColorFilter', 'orderObjectBy', 'dateFilters', 'textColorFilter'],
50 50
 		'service' => ['ApiService', 'BoardService', 'CardService', 'LabelService', 'StackService', 'StatusService'],
51 51
 	];
52
-	foreach($js as $folder=>$files) {
52
+	foreach ($js as $folder=>$files) {
53 53
 		foreach ($files as $file) {
54
-			Util::addScript('deck', $folder.'/'.$file);
54
+			Util::addScript('deck', $folder . '/' . $file);
55 55
 		}
56 56
 	}
57 57
 }
Please login to merge, or discard this patch.