Completed
Push — master ( c38f18...f68a32 )
by Tim
27s queued 11s
created
Classes/Service/TimeTable/TimeTimeTable.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         switch ($configuration->getEndDateDynamic()) {
66 66
             case Configuration::END_DYNAMIC_1_DAY:
67
-                $callback = function ($entry) {
67
+                $callback = function($entry) {
68 68
                     if ($entry['start_date'] instanceof \DateTime) {
69 69
                         $entry['end_date'] = clone $entry['start_date'];
70 70
                         $entry['end_date']->modify('+1 day');
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                 };
75 75
                 break;
76 76
             case Configuration::END_DYNAMIC_1_WEEK:
77
-                $callback = function ($entry) {
77
+                $callback = function($entry) {
78 78
                     if ($entry['start_date'] instanceof \DateTime) {
79 79
                         $entry['end_date'] = clone $entry['start_date'];
80 80
                         $entry['end_date']->modify('+1 week');
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 };
85 85
                 break;
86 86
             case Configuration::END_DYNAMIC_END_WEEK:
87
-                $callback = function ($entry) {
87
+                $callback = function($entry) {
88 88
                     if ($entry['start_date'] instanceof \DateTime) {
89 89
                         $entry['end_date'] = clone $entry['start_date'];
90 90
                         $entry['end_date']->modify('monday next week');
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
                 };
96 96
                 break;
97 97
             case Configuration::END_DYNAMIC_END_MONTH:
98
-                $callback = function ($entry) {
98
+                $callback = function($entry) {
99 99
                     if ($entry['start_date'] instanceof \DateTime) {
100 100
                         $entry['end_date'] = clone $entry['start_date'];
101 101
                         $entry['end_date']->modify('last day of this month');
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 break;
107 107
             case Configuration::END_DYNAMIC_END_YEAR:
108 108
 
109
-                $callback = function ($entry) {
109
+                $callback = function($entry) {
110 110
                     if ($entry['start_date'] instanceof \DateTime) {
111 111
                         $entry['end_date'] = clone $entry['start_date'];
112 112
                         $entry['end_date']->setDate((int)$entry['end_date']->format('Y'), 12, 31);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use HDNET\Calendarize\Service\RecurrenceService;
12 12
 use HDNET\Calendarize\Utility\ConfigurationUtility;
13 13
 use HDNET\Calendarize\Utility\DateTimeUtility;
14
-use HDNET\Calendarize\Utility\HelperUtility;
15 14
 use TYPO3\CMS\Core\Messaging\FlashMessage;
16 15
 use TYPO3\CMS\Core\Messaging\FlashMessageService;
17 16
 use TYPO3\CMS\Core\Utility\GeneralUtility;
Please login to merge, or discard this patch.
Classes/Hooks/CmsLayout.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
         $actions = $this->flexFormService->get('switchableControllerActions', 'main');
66 66
         $parts = GeneralUtility::trimExplode(';', $actions, true);
67
-        $parts = \array_map(function ($element) {
67
+        $parts = \array_map(function($element) {
68 68
             $split = \explode('->', $element);
69 69
 
70 70
             return \ucfirst($split[1]);
Please login to merge, or discard this patch.
Classes/Seo/EventXmlSitemapDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
                 $GLOBALS['TCA'][$table]['ctrl']['languageField'],
53 53
                 [
54 54
                     -1, // All languages
55
-                    $this->getLanguageId(),  // Current language
55
+                    $this->getLanguageId(), // Current language
56 56
                 ]
57 57
             );
58 58
         }
Please login to merge, or discard this patch.
Classes/Form/Element/CalendarizeInfoElement.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use HDNET\Calendarize\Utility\TranslateUtility;
9 9
 use TYPO3\CMS\Backend\Form\Element\AbstractFormElement;
10 10
 use TYPO3\CMS\Backend\Utility\BackendUtility;
11
-use TYPO3\CMS\Core\Utility\DebugUtility;
12 11
 use TYPO3\CMS\Core\Utility\GeneralUtility;
13 12
 
14 13
 class CalendarizeInfoElement extends AbstractFormElement
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 namespace HDNET\Calendarize\Form\Element;
4 4
 
5 5
 
Please login to merge, or discard this patch.
Classes/Hooks/KeSearchIndexer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use HDNET\Calendarize\Domain\Model\Index;
13 13
 use HDNET\Calendarize\Domain\Repository\IndexRepository;
14 14
 use HDNET\Calendarize\Features\KeSearchIndexInterface;
15
-use HDNET\Calendarize\Utility\HelperUtility;
16 15
 use In2code\Powermail\Utility\ObjectUtility;
17 16
 use TYPO3\CMS\Core\Utility\GeneralUtility;
18 17
 
Please login to merge, or discard this patch.
Classes/Slots/EventImport.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use HDNET\Calendarize\Domain\Model\Event;
13 13
 use HDNET\Calendarize\Domain\Repository\EventRepository;
14 14
 use HDNET\Calendarize\Utility\DateTimeUtility;
15
-use HDNET\Calendarize\Utility\HelperUtility;
16 15
 use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
17 16
 
18 17
 /**
Please login to merge, or discard this patch.
Classes/Utility/HelperUtility.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use TYPO3\CMS\Core\Messaging\FlashMessage;
15 15
 use TYPO3\CMS\Core\Messaging\FlashMessageService;
16 16
 use TYPO3\CMS\Core\Utility\GeneralUtility;
17
-use TYPO3\CMS\Extbase\Object\ObjectManager;
18 17
 use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
19 18
 use TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface;
20 19
 use TYPO3\CMS\Extbase\Persistence\QueryInterface;
Please login to merge, or discard this patch.
Classes/Validation/Validator/BookingRequestValidator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 namespace HDNET\Calendarize\Validation\Validator;
9 9
 
10
-use HDNET\Calendarize\Utility\HelperUtility;
11 10
 use TYPO3\CMS\Extbase\Validation\Validator\AbstractValidator;
12 11
 use TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator;
13 12
 use TYPO3\CMS\Extbase\Validation\ValidatorResolver;
Please login to merge, or discard this patch.
Classes/ViewHelpers/Link/AbstractLinkViewHelper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use TYPO3\CMS\Core\Utility\GeneralUtility;
14 14
 use TYPO3\CMS\Core\Utility\MathUtility;
15 15
 use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder;
16
-use TYPO3\CMS\Extbase\Object\ObjectManager;
17 16
 use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.