Completed
Push — master ( 3bef1d...04eb0b )
by Tim
05:17
created
Classes/Slots/EventImport.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 default events.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Slots;
9 9
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     protected function nl2br($string)
140 140
     {
141
-        $string = \nl2br((string) $string);
141
+        $string = \nl2br((string)$string);
142 142
 
143 143
         return \str_replace('\\n', '<br />', $string);
144 144
     }
Please login to merge, or discard this patch.
Classes/Register.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
  * Register the calendarize objects.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize;
9 9
 
Please login to merge, or discard this patch.
Classes/Property/TypeConverter/AbstractBookingRequest.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
  * AbstractBookingRequest.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Property\TypeConverter;
9 9
 
Please login to merge, or discard this patch.
Classes/LinkHandling/EventLinkHandler.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
  * EventLinkHandler.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\LinkHandling;
9 9
 
Please login to merge, or discard this patch.
Classes/LinkHandling/EventSelectionLinkHandler.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
  * EventSelectionLinkHandler.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\LinkHandling;
9 9
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         GeneralUtility::makeInstance(PageRenderer::class)->loadRequireJsModule('TYPO3/CMS/Recordlist/PageLinkHandler');
64 64
 
65
-        $this->expandPage = isset($request->getQueryParams()['expandPage']) ? (int) $request->getQueryParams()['expandPage'] : 0;
65
+        $this->expandPage = isset($request->getQueryParams()['expandPage']) ? (int)$request->getQueryParams()['expandPage'] : 0;
66 66
         $this->setTemporaryDbMounts();
67 67
 
68 68
         $backendUser = $this->getBackendUser();
@@ -70,9 +70,9 @@  discard block
 block discarded – undo
70 70
         /** @var ElementBrowserPageTreeView $pageTree */
71 71
         $pageTree = GeneralUtility::makeInstance(ElementBrowserPageTreeView::class);
72 72
         $pageTree->setLinkParameterProvider($this);
73
-        $pageTree->ext_showNavTitle = (bool) $backendUser->getTSConfigVal('options.pageTree.showNavTitle');
74
-        $pageTree->ext_showPageId = (bool) $backendUser->getTSConfigVal('options.pageTree.showPageIdWithTitle');
75
-        $pageTree->ext_showPathAboveMounts = (bool) $backendUser->getTSConfigVal('options.pageTree.showPathAboveMounts');
73
+        $pageTree->ext_showNavTitle = (bool)$backendUser->getTSConfigVal('options.pageTree.showNavTitle');
74
+        $pageTree->ext_showPageId = (bool)$backendUser->getTSConfigVal('options.pageTree.showPageIdWithTitle');
75
+        $pageTree->ext_showPathAboveMounts = (bool)$backendUser->getTSConfigVal('options.pageTree.showPathAboveMounts');
76 76
         $pageTree->addField('nav_title');
77 77
 
78 78
         $this->view->assign('temporaryTreeMountCancelLink', $this->getTemporaryTreeMountCancelNotice());
Please login to merge, or discard this patch.
Classes/Hooks/KeSearchIndexer.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
  * KE Search Indexer.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Hooks;
9 9
 
Please login to merge, or discard this patch.
Classes/Hooks/ProcessCmdmapClass.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
  * Hook for cmd map processing.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Hooks;
9 9
 
Please login to merge, or discard this patch.
Classes/Hooks/RealurlConfiguration.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 configuration.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Hooks;
9 9
 
Please login to merge, or discard this patch.
Classes/Hooks/TimeShift.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 shift function.
5 5
  */
6
-declare(strict_types=1);
6
+declare(strict_types = 1);
7 7
 
8 8
 namespace HDNET\Calendarize\Hooks;
9 9
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         }
29 29
 
30 30
         $configuration = $this->getConfiguration();
31
-        $timeShift = isset($configuration['timeShift']) ? (int) $configuration['timeShift'] : 0;
31
+        $timeShift = isset($configuration['timeShift']) ? (int)$configuration['timeShift'] : 0;
32 32
         if ($timeShift <= 0) {
33 33
             // shift is disabled
34 34
             return;
Please login to merge, or discard this patch.