Completed
Push — master ( 2dd332...d6426f )
by steef
02:53
created
src/Stefanius/SpecialDates/Dates/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/Dates/DutchVeteransDay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         } else if ($this->year >= 2005 && $this->year < 2009) {
16 16
             $this->setupDateTimeObjects($this->generateDateTime($this->year, 6, 29));
17 17
         } else if ($this->year >= 2009) {
18
-            $timestamp       = strtotime('last saturday', mktime(0, 0, 0, 6, 0, $this->year));
18
+            $timestamp = strtotime('last saturday', mktime(0, 0, 0, 6, 0, $this->year));
19 19
             $date = new \DateTime();
20 20
             $date->setTimestamp($timestamp);
21 21
 
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/Dates/ChristmasEvening.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
     protected function generate()
10 10
     {
11 11
         $this->description = 'Kerstavond';
12
-        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-24');
13
-        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year . '-12-24');
12
+        $this->startDate   = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-24');
13
+        $this->endDate     = \DateTime::createFromFormat('Y-m-d', $this->year.'-12-24');
14 14
         $this->totalLength = 1;
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/Dates/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/Dates/PinkSaturday.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 = 'Roze Zaterdag';
12 12
 
13 13
         if ($this->year >= 1977) {
14
-            $timestamp       = strtotime('fourth saturday', mktime(0, 0, 0, 6, 0, $this->year));
14
+            $timestamp = strtotime('fourth saturday', mktime(0, 0, 0, 6, 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/Dates/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/Dates/DayOfConstruction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         } else if ($this->year >= 2011) {
16 16
             $this->setupDateTimeObjects($this->generateDateTime($this->year, 5, 28));
17 17
         } else if ($this->year >= 2009) {
18
-            $timestamp       = strtotime('first saturday', mktime(0, 0, 0, 6, 0, $this->year));
18
+            $timestamp = strtotime('first saturday', mktime(0, 0, 0, 6, 0, $this->year));
19 19
             $date = new \DateTime();
20 20
             $date->setTimestamp($timestamp);
21 21
 
Please login to merge, or discard this patch.
src/Stefanius/SpecialDates/Dates/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/Dates/DevelopersDay.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 
13 13
         if ($this->year >= 2002) {
14 14
             if ($this->year % 4 === 0) {
15
-                $this->startDate = new \DateTime($this->year . '-09-12');
16
-                $this->endDate = new \DateTime($this->year . '-09-12');
15
+                $this->startDate = new \DateTime($this->year.'-09-12');
16
+                $this->endDate = new \DateTime($this->year.'-09-12');
17 17
             } else {
18
-                $this->startDate = new \DateTime($this->year . '-09-13');
19
-                $this->endDate = new \DateTime($this->year . '-09-13');
18
+                $this->startDate = new \DateTime($this->year.'-09-13');
19
+                $this->endDate = new \DateTime($this->year.'-09-13');
20 20
             }
21 21
 
22 22
             $this->totalLength = 1;
Please login to merge, or discard this patch.