Passed
Branch master (74acdb)
by Romain
05:59
created
Classes/Definition/Tree/EventGroup/Event/Connection/Hook.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         ) {
77 77
             $closure = $this->preventEvalNeverIdealStuff($eventRunner);
78 78
         } else {
79
-            $closure = function () use ($eventRunner) {
79
+            $closure = function() use ($eventRunner) {
80 80
                 return call_user_func_array($eventRunner->getCallable(), func_get_args());
81 81
             };
82 82
         }
Please login to merge, or discard this patch.
Classes/Channel/AbstractChannel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
 
171 171
         $wrongNotificationClassNames = array_filter(
172 172
             static::$supportedNotifications,
173
-            function ($supportedNotification) {
173
+            function($supportedNotification) {
174 174
                 return !(class_exists($supportedNotification)
175 175
                         || interface_exists($supportedNotification)
176 176
                     ) || !in_array(Notification::class, class_implements($supportedNotification));
Please login to merge, or discard this patch.
Classes/Service/Scheduler/SchedulerService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     public function getTasksListForTca(array &$parameters)
90 90
     {
91 91
         $parameters['items'] = array_map(
92
-            function ($task) {
92
+            function($task) {
93 93
                 $uid = $task['uid'];
94 94
 
95 95
                 /** @var AbstractTask $taskObject */
Please login to merge, or discard this patch.
Classes/Notification/NotificationDispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      */
81 81
     protected function getDispatchCallback(Notification $notification, NotificationDefinition $notificationDefinition)
82 82
     {
83
-        return function (Event $event) use ($notification, $notificationDefinition) {
83
+        return function(Event $event) use ($notification, $notificationDefinition) {
84 84
             /** @var Payload $payload */
85 85
             $payload = GeneralUtility::makeInstance(Payload::class, $notification, $notificationDefinition, $event);
86 86
 
Please login to merge, or discard this patch.
Domain/Notification/Log/Application/EntityLog/TCA/EntityLogTcaService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $lll = 'Notification/Log/Entity';
47 47
 
48 48
         $levels = array_map(
49
-            function ($level) use ($lll) {
49
+            function($level) use ($lll) {
50 50
                 $level = strtoupper($level);
51 51
 
52 52
                 $description = LocalizationService::localize("$lll:level.$level");
Please login to merge, or discard this patch.
Notification/Email/Application/EntityEmail/TCA/EntityEmailTcaService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         $eventDefinition = $this->getSelectedEvent($parameters['row']);
41 41
 
42 42
         $eventRecipients = array_map(
43
-            function (Email $recipient) {
43
+            function(Email $recipient) {
44 44
                 return [
45 45
                     'label' => $recipient->getLabel(),
46 46
                     'value' => $recipient->getName(),
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         );
51 51
 
52 52
         $globalRecipients = array_map(
53
-            function (Recipient $recipient) {
53
+            function(Recipient $recipient) {
54 54
                 return [
55 55
                     'label' => $recipient->getName(),
56 56
                     'value' => $recipient->getIdentifier(),
Please login to merge, or discard this patch.
Email/Application/EntityEmail/Service/EntityEmailAddressMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
     protected function parseRecipientsStrings(array $recipients)
180 180
     {
181 181
         return array_map(
182
-            function ($recipient) {
182
+            function($recipient) {
183 183
                 if (preg_match('#([^<]+) <([^>]+)>#', $recipient, $matches)) {
184 184
                     $name = $matches[1];
185 185
                     $email = $matches[2];
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
 
265 265
         return array_filter(
266 266
             $recipients,
267
-            function ($recipient) use ($uniqueRecipients) {
267
+            function($recipient) use ($uniqueRecipients) {
268 268
                 $email = trim($recipient['email']);
269 269
 
270 270
                 if (strlen($email) === 0) {
Please login to merge, or discard this patch.
Application/EntityEmail/Settings/GlobalRecipients/GlobalRecipients.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             : [];
51 51
 
52 52
         $data = array_map(
53
-            function ($item) {
53
+            function($item) {
54 54
                 return ['recipient' => $item];
55 55
             },
56 56
             $data
Please login to merge, or discard this patch.
Classes/Domain/Event/TYPO3/CachesClearedEvent.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
     /**
27 27
      * @label Event/TYPO3/CacheCleared:marker.cache_command
28 28
      * @marker
29
-
30 29
      * @var string
31 30
      */
32 31
     protected $cacheCommand;
Please login to merge, or discard this patch.