Completed
Push — master ( d6426f...b73070 )
by steef
09:23 queued 03:48
created
src/Stefanius/SpecialDates/CommonDates/NewYearsDay.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
     {
11 11
         $this->description = 'Nieuwjaarsdag';
12 12
 
13
-        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year . '-1-1');
14
-        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year . '-1-1');
13
+        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year.'-1-1');
14
+        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year.'-1-1');
15 15
         $this->totalLength = 1;
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/CommonDates/LastDayOfYear.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
     {
11 11
         $this->description = 'Oudjaarsdag';
12 12
 
13
-        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-31');
14
-        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-31');
13
+        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-31');
14
+        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-31');
15 15
         $this->totalLength = 1;
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/CommonDates/FathersDay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         if ($this->year >= 2009) {
14 14
             $this->setupDateTimeObjects($this->generateDateTime($this->year, 6, 19));
15 15
         } else if ($this->year >= 1909) {
16
-            $timestamp       = strtotime('third sunday', mktime(0, 0, 0, 6, 0, $this->year));
16
+            $timestamp = strtotime('third sunday', mktime(0, 0, 0, 6, 0, $this->year));
17 17
             $date = new \DateTime();
18 18
             $date->setTimestamp($timestamp);
19 19
 
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/CommonDates/LiberationDay.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
         $this->description = 'Bevrijdingsdag';
12 12
 
13 13
         if ($this->year > 1945) {
14
-            $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year . '-5-5');
15
-            $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year . '-5-5');
14
+            $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year.'-5-5');
15
+            $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year.'-5-5');
16 16
             $this->totalLength = 1;
17 17
             $this->valid = true;
18 18
         } else {
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/CommonDates/SecondEasterDay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     protected function calculateCNumber()
53 53
     {
54
-        return (int)floor($this->year / 100) + 1;
54
+        return (int) floor($this->year / 100) + 1;
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/CommonDates/SecondChristmasDay.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
     {
11 11
         $this->description = 'Tweede Kerstdag';
12 12
 
13
-        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-26');
14
-        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-26');
13
+        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-26');
14
+        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-26');
15 15
         $this->totalLength = 1;
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/CommonDates/FirstChristmasDay.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
     {
11 11
         $this->description = 'Eerste Kerstdag';
12 12
 
13
-        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-25');
14
-        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-25');
13
+        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-25');
14
+        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-25');
15 15
         $this->totalLength = 1;
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/CommonDates/MothersDay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
         $this->description = 'Moederdag';
12 12
 
13 13
         if ($this->year >= 1908) {
14
-            $timestamp       = strtotime('second sunday', mktime(0, 0, 0, 5, 0, $this->year));
14
+            $timestamp = strtotime('second sunday', mktime(0, 0, 0, 5, 0, $this->year));
15 15
             $date = new \DateTime();
16 16
             $date->setTimestamp($timestamp);
17 17
 
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/CommonDates/FirstEasterDay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     protected function calculateCNumber()
53 53
     {
54
-        return (int)floor($this->year / 100) + 1;
54
+        return (int) floor($this->year / 100) + 1;
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.