Test Failed
Push — master ( 3f892b...ca4849 )
by Curtis
03:14 queued 02:42
created
src/Record/Buri.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function setDate($date) {
40 40
         $this->date = $date;
41 41
         if ($this->getDay()) {
42
-            $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
42
+            $this->dateFormatted = $this->getYear().'-'.$this->getMonth().'-'.substr("0{$this->getDay()}", -2);
43 43
         }
44 44
         else {
45 45
             $this->dateFormatted = null;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
         $this->date = $date;
41 41
         if ($this->getDay()) {
42 42
             $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
43
-        }
44
-        else {
43
+        } else {
45 44
             $this->dateFormatted = null;
46 45
             $this->year = $date;
47 46
             $this->date = null;
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
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function setDate($date) {
40 40
         $this->date = $date;
41 41
         if ($this->getDay()) {
42
-            $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
42
+            $this->dateFormatted = $this->getYear().'-'.$this->getMonth().'-'.substr("0{$this->getDay()}", -2);
43 43
         }
44 44
         else {
45 45
             $this->year = $date;
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
         $this->date = $date;
41 41
         if ($this->getDay()) {
42 42
             $this->dateFormatted = $this->getYear() .'-'. $this->getMonth() .'-'. substr("0{$this->getDay()}", -2);
43
-        }
44
-        else {
43
+        } else {
45 44
             $this->year = $date;
46 45
             $this->date = null;
47 46
         }
Please login to merge, or discard this patch.