Completed
Pull Request — master (#218)
by
unknown
02:14
created
Classes/Features/KeSearchIndexInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Index interface for the ke_search extension to index the events.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Features;
9 9
 
Please login to merge, or discard this patch.
Classes/Features/FeedInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Feed interface.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Features;
9 9
 
Please login to merge, or discard this patch.
Classes/Features/SpeakingUrlInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * RealURL features.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Features;
9 9
 
Please login to merge, or discard this patch.
Classes/Features/BookingInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Booking interface.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Features;
9 9
 
Please login to merge, or discard this patch.
Classes/Command/CleanupCommandController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Cleanup the event models.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Command;
9 9
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
         // climb thru the events and hide/delete them
71 71
         foreach ($events as $event) {
72
-            $uid = (int) $event['foreign_uid'];
72
+            $uid = (int)$event['foreign_uid'];
73 73
 
74 74
             $model = $repository->findByUid($uid);
75 75
 
@@ -102,12 +102,12 @@  discard block
 block discarded – undo
102 102
     protected function processEvent(EventRepository $repository, Event $model, $modus)
103 103
     {
104 104
         // define the function for the delete-modus.
105
-        $delete = function ($repository, $model) {
105
+        $delete = function($repository, $model) {
106 106
             $repository->remove($model);
107 107
         };
108 108
 
109 109
         // define the function for the hide-modus.
110
-        $hide = function ($repository, $model) {
110
+        $hide = function($repository, $model) {
111 111
             $model->setHidden(true);
112 112
             $repository->update($model);
113 113
         };
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     protected function findOutdatedEvents($tableName, $waitingPeriod)
144 144
     {
145 145
         // calculate the waiting time
146
-        $interval = 'P' . (int) $waitingPeriod . 'D';
146
+        $interval = 'P' . (int)$waitingPeriod . 'D';
147 147
         $now = DateTimeUtility::getNow();
148 148
         $now->sub(new \DateInterval($interval));
149 149
 
Please login to merge, or discard this patch.
Classes/Command/AbstractCommandController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Command controller abstraction.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Command;
9 9
 
Please login to merge, or discard this patch.
Classes/Command/ImportCommandController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Import.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Command;
9 9
 
@@ -118,6 +118,6 @@  discard block
 block discarded – undo
118 118
             ));
119 119
         }
120 120
 
121
-        return (array) (new \ICal($absoluteIcalFile))->events();
121
+        return (array)(new \ICal($absoluteIcalFile))->events();
122 122
     }
123 123
 }
Please login to merge, or discard this patch.
Classes/Command/ReindexCommandController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 /**
4 4
  * Reindex the event models.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Command;
9 9
 
Please login to merge, or discard this patch.
Classes/Utility/ConfigurationUtility.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * Configuration Utility.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Utility;
9 9
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     protected static function loadConfiguration()
40 40
     {
41 41
         if (null === self::$configuration) {
42
-            self::$configuration = (array) \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['calendarize']);
42
+            self::$configuration = (array)\unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['calendarize']);
43 43
         }
44 44
     }
45 45
 }
Please login to merge, or discard this patch.