Test Failed
Push — master ( ca4849...698ad9 )
by Curtis
09:50 queued 07:00
created
src/Record/Chr.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
     public function setDate($date) {
36 36
         $this->date = $date;
37
-        $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
37
+        $this->dateFormatted = $this->getYear().'-'.$this->getMonth().'-'.substr("0{$this->getDay()}", -2);
38 38
     }
39 39
 
40 40
     public function getDateFormatted() {
Please login to merge, or discard this patch.
src/Record/Deat.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     public function setDate($date) {
42 42
         $this->date = $date;
43 43
         if ($this->getDay()) {
44
-            $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
44
+            $this->dateFormatted = $this->getYear().'-'.$this->getMonth().'-'.substr("0{$this->getDay()}", -2);
45 45
         }
46 46
         else {
47 47
             $this->month = $this->getMonth();
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
         $this->date = $date;
43 43
         if ($this->getDay()) {
44 44
             $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
45
-        }
46
-        else {
45
+        } else {
47 46
             $this->month = $this->getMonth();
48 47
             $this->year = $this->getYear();
49 48
         }
Please login to merge, or discard this patch.
src/Record/Birt.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     public function setDate($date) {
42 42
         $this->date = $date;
43 43
         if ($this->getDay()) {
44
-            $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
44
+            $this->dateFormatted = $this->getYear().'-'.$this->getMonth().'-'.substr("0{$this->getDay()}", -2);
45 45
         }
46 46
         else {
47 47
             $this->month = $this->getMonth();
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
         $this->date = $date;
43 43
         if ($this->getDay()) {
44 44
             $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
45
-        }
46
-        else {
45
+        } else {
47 46
             $this->month = $this->getMonth();
48 47
             $this->year = $this->getYear();
49 48
         }
Please login to merge, or discard this patch.