Completed
Pull Request — master (#218)
by
unknown
02:14
created
Classes/Service/TimeTable/TimeTimeTable.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
  * Time service.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service\TimeTable;
9 9
 
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      */
242 242
     protected function getFrequencyLimitPerItem()
243 243
     {
244
-        $maxLimit = (int) ConfigurationUtility::get('frequencyLimitPerItem');
244
+        $maxLimit = (int)ConfigurationUtility::get('frequencyLimitPerItem');
245 245
         if ($maxLimit <= 0) {
246 246
             $maxLimit = 300;
247 247
         }
Please login to merge, or discard this patch.
Classes/Service/TimeTable/GroupTimeTable.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
  * Group service.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service\TimeTable;
9 9
 
Please login to merge, or discard this patch.
Classes/Service/SitemapProvider/Events.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
  * Events.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service\SitemapProvider;
9 9
 
Please login to merge, or discard this patch.
Classes/Service/AbstractService.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
  * Service abstraction.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service;
9 9
 
Please login to merge, or discard this patch.
Classes/Service/CalDav.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
  * Wrapper for the Cal Dav structure.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service;
9 9
 
Please login to merge, or discard this patch.
Classes/Service/IcsReaderService.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
  * ICS Service.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service;
9 9
 
Please login to merge, or discard this patch.
Classes/Service/PluginConfigurationService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /**
4 4
  * PluginConfigurationService.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service;
9 9
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function respectPluginConfiguration(array $settings)
26 26
     {
27
-        $settings['pluginConfiguration'] = $this->buildPluginConfigurationObject((int) $settings['pluginConfiguration']);
27
+        $settings['pluginConfiguration'] = $this->buildPluginConfigurationObject((int)$settings['pluginConfiguration']);
28 28
         if ($settings['pluginConfiguration'] instanceof PluginConfiguration) {
29 29
             $checkFields = [
30 30
                 'detailPid',
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     protected function buildPluginConfigurationObject($uid)
84 84
     {
85 85
         $db = HelperUtility::getDatabaseConnection();
86
-        $row = $db->exec_SELECTgetSingleRow('*', 'tx_calendarize_domain_model_pluginconfiguration', 'uid=' . (int) $uid);
86
+        $row = $db->exec_SELECTgetSingleRow('*', 'tx_calendarize_domain_model_pluginconfiguration', 'uid=' . (int)$uid);
87 87
         if (!isset($row['model_name'])) {
88 88
             return;
89 89
         }
Please login to merge, or discard this patch.
Classes/Service/IndexPreparationService.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * Helper class for the IndexService
5 5
  * Prepare the index.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace HDNET\Calendarize\Service;
10 10
 
@@ -82,11 +82,11 @@  discard block
 block discarded – undo
82 82
         if (!$languageField || !$transPointer) {
83 83
             return;
84 84
         }
85
-        if ((int) $record[$transPointer] > 0) {
85
+        if ((int)$record[$transPointer] > 0) {
86 86
             // no Index for language child elements
87 87
             return;
88 88
         }
89
-        $language = (int) $record[$languageField];
89
+        $language = (int)$record[$languageField];
90 90
 
91 91
         foreach (\array_keys($neededItems) as $key) {
92 92
             $neededItems[$key]['sys_language_uid'] = $language;
@@ -109,16 +109,16 @@  discard block
 block discarded – undo
109 109
 
110 110
         $addFields = [];
111 111
         if (isset($enableFields['disabled'])) {
112
-            $addFields['hidden'] = (int) $record[$enableFields['disabled']];
112
+            $addFields['hidden'] = (int)$record[$enableFields['disabled']];
113 113
         }
114 114
         if (isset($enableFields['starttime'])) {
115
-            $addFields['starttime'] = (int) $record[$enableFields['starttime']];
115
+            $addFields['starttime'] = (int)$record[$enableFields['starttime']];
116 116
         }
117 117
         if (isset($enableFields['endtime'])) {
118
-            $addFields['endtime'] = (int) $record[$enableFields['endtime']];
118
+            $addFields['endtime'] = (int)$record[$enableFields['endtime']];
119 119
         }
120 120
         if (isset($enableFields['fe_group'])) {
121
-            $addFields['fe_group'] = (string) $record[$enableFields['fe_group']];
121
+            $addFields['fe_group'] = (string)$record[$enableFields['fe_group']];
122 122
         }
123 123
 
124 124
         foreach ($neededItems as $key => $value) {
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
             if ($value instanceof \DateTimeInterface) {
138 138
                 $record[$key] = $value->getTimestamp();
139 139
             } elseif (\is_bool($value) || 'start_time' === $key || 'end_time' === $key) {
140
-                $record[$key] = (int) $value;
140
+                $record[$key] = (int)$value;
141 141
             } elseif (null === $value) {
142 142
                 $record[$key] = '';
143 143
             }
Please login to merge, or discard this patch.
Classes/Service/Url/CoolUri.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
  * CoolUri.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Service\Url;
9 9
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function coolUri($xml, $value)
61 61
     {
62
-        $alias = $this->getIndexBase((int) $value);
62
+        $alias = $this->getIndexBase((int)$value);
63 63
         $alias = Functions::URLize($alias);
64 64
         $alias = Functions::sanitize_title_with_dashes($alias);
65 65
 
Please login to merge, or discard this patch.