Completed
Push — master ( 9e7f0d...aec3f7 )
by steef
05:10
created
Category
src/Stef/SpecialDates/DateParser/Parser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
          * @var $item SpecialDateInterface
78 78
          */
79 79
         foreach ($items as $key => $item) {
80
-            if ((int)$month === (int)$item->getStartDate()->format('m')) {
80
+            if ((int) $month === (int) $item->getStartDate()->format('m')) {
81 81
                 $found[$key] = $item;
82 82
             }
83 83
         }
Please login to merge, or discard this patch.
src/Stef/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/Stef/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/Stef/SpecialDates/Dates/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/Stef/SpecialDates/Dates/GardenGuyDay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     {
11 11
         $this->description = 'Hoveniersmaandag';
12 12
 
13
-        $timestamp       = strtotime('third monday', mktime(0, 0, 0, 7, 0, $this->year));
13
+        $timestamp = strtotime('third monday', mktime(0, 0, 0, 7, 0, $this->year));
14 14
         $date = new \DateTime();
15 15
         $date->setTimestamp($timestamp);
16 16
 
Please login to merge, or discard this patch.
src/Stef/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/Stef/SpecialDates/SDK/AbstractSpecialDate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 
123 123
         $interval = $this->startDate->diff($this->endDate);
124 124
 
125
-        $this->totalLength = (int)$interval->format('%R%a') + 1;
125
+        $this->totalLength = (int) $interval->format('%R%a') + 1;
126 126
     }
127 127
 
128 128
     /**
Please login to merge, or discard this patch.