Completed
Branch develop (2dd6cc)
by
unknown
26:03
created
htdocs/includes/sabre/sabre/dav/lib/DAV/Xml/Property/LocalHref.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function __construct($hrefs)
40 40
     {
41 41
         parent::__construct(array_map(
42
-            function ($href) {
42
+            function($href) {
43 43
                 return \Sabre\HTTP\encodePath($href);
44 44
             },
45 45
             (array) $hrefs
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Browser/GuessContentType.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
     public function propFind(PropFind $propFind, INode $node)
66 66
     {
67
-        $propFind->handle('{DAV:}getcontenttype', function () use ($propFind) {
67
+        $propFind->handle('{DAV:}getcontenttype', function() use ($propFind) {
68 68
             list(, $fileName) = Uri\split($propFind->getPath());
69 69
 
70 70
             return $this->getContentType($fileName);
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Sharing/Plugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -141,13 +141,13 @@
 block discarded – undo
141 141
     public function propFind(PropFind $propFind, INode $node)
142 142
     {
143 143
         if ($node instanceof ISharedNode) {
144
-            $propFind->handle('{DAV:}share-access', function () use ($node) {
144
+            $propFind->handle('{DAV:}share-access', function() use ($node) {
145 145
                 return new Property\ShareAccess($node->getShareAccess());
146 146
             });
147
-            $propFind->handle('{DAV:}invite', function () use ($node) {
147
+            $propFind->handle('{DAV:}invite', function() use ($node) {
148 148
                 return new Property\Invite($node->getInvites());
149 149
             });
150
-            $propFind->handle('{DAV:}share-resource-uri', function () use ($node) {
150
+            $propFind->handle('{DAV:}share-resource-uri', function() use ($node) {
151 151
                 return new Property\Href($node->getShareResourceUri());
152 152
             });
153 153
         }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/vobject/lib/Parameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@
 block discarded – undo
275 275
 
276 276
         return $this->name.'='.array_reduce(
277 277
             $value,
278
-            function ($out, $item) {
278
+            function($out, $item) {
279 279
                 if (!is_null($out)) {
280 280
                     $out .= ',';
281 281
                 }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/vobject/lib/FreeBusyGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
         $vavailComps = iterator_to_array($vavailability->VAVAILABILITY);
209 209
         usort(
210 210
             $vavailComps,
211
-            function ($a, $b) {
211
+            function($a, $b) {
212 212
                 // We need to order the components by priority. Priority 1
213 213
                 // comes first, up until priority 9. Priority 0 comes after
214 214
                 // priority 9. No priority implies priority 0.
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/vobject/lib/PHPUnitAssertions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function assertVObjectEqualsVObject($expected, $actual, $message = '')
36 36
     {
37
-        $getObj = function ($input) {
37
+        $getObj = function($input) {
38 38
             if (is_resource($input)) {
39 39
                 $input = stream_get_contents($input);
40 40
             }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/vobject/lib/Cli.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
          *
514 514
          * @return int
515 515
          */
516
-        $sortScore = function ($key, $array) {
516
+        $sortScore = function($key, $array) {
517 517
             if ($array[$key] instanceof Component) {
518 518
                 // We want to encode VTIMEZONE first, this is a personal
519 519
                 // preference.
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
         $tmp = $children;
549 549
         uksort(
550 550
             $children,
551
-            function ($a, $b) use ($sortScore, $tmp) {
551
+            function($a, $b) use ($sortScore, $tmp) {
552 552
                 $sA = $sortScore($a, $tmp);
553 553
                 $sB = $sortScore($b, $tmp);
554 554
 
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/vobject/lib/Component.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
                 // more.
238 238
                 return array_filter(
239 239
                     $result,
240
-                    function ($child) use ($group) {
240
+                    function($child) use ($group) {
241 241
                         return $child instanceof Property && (null !== $child->group ? strtoupper($child->group) : '') === $group;
242 242
                     }
243 243
                 );
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
          *
283 283
          * @return int
284 284
          */
285
-        $sortScore = function ($key, $array) {
285
+        $sortScore = function($key, $array) {
286 286
             if ($array[$key] instanceof Component) {
287 287
                 // We want to encode VTIMEZONE first, this is a personal
288 288
                 // preference.
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
         $tmp = $children;
318 318
         uksort(
319 319
             $children,
320
-            function ($a, $b) use ($sortScore, $tmp) {
320
+            function($a, $b) use ($sortScore, $tmp) {
321 321
                 $sA = $sortScore($a, $tmp);
322 322
                 $sB = $sortScore($b, $tmp);
323 323
 
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/vobject/lib/ITip/Broker.php 1 patch
Spacing   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -632,8 +632,7 @@  discard block
 block discarded – undo
632 632
         }
633 633
 
634 634
         $oldInstances = !empty($oldEventInfo['attendees'][$attendee]['instances']) ?
635
-            $oldEventInfo['attendees'][$attendee]['instances'] :
636
-            [];
635
+            $oldEventInfo['attendees'][$attendee]['instances'] : [];
637 636
 
638 637
         $instances = [];
639 638
         foreach ($oldInstances as $instance) {
@@ -849,12 +848,10 @@  discard block
 block discarded – undo
849 848
                 }
850 849
                 $organizerForceSend =
851 850
                     isset($vevent->ORGANIZER['SCHEDULE-FORCE-SEND']) ?
852
-                    strtoupper($vevent->ORGANIZER['SCHEDULE-FORCE-SEND']) :
853
-                    null;
851
+                    strtoupper($vevent->ORGANIZER['SCHEDULE-FORCE-SEND']) : null;
854 852
                 $organizerScheduleAgent =
855 853
                     isset($vevent->ORGANIZER['SCHEDULE-AGENT']) ?
856
-                    strtoupper((string) $vevent->ORGANIZER['SCHEDULE-AGENT']) :
857
-                    'SERVER';
854
+                    strtoupper((string) $vevent->ORGANIZER['SCHEDULE-AGENT']) : 'SERVER';
858 855
             }
859 856
             if (is_null($sequence) && isset($vevent->SEQUENCE)) {
860 857
                 $sequence = $vevent->SEQUENCE->getValue();
@@ -902,13 +899,11 @@  discard block
 block discarded – undo
902 899
                     }
903 900
                     $partStat =
904 901
                         isset($attendee['PARTSTAT']) ?
905
-                        strtoupper($attendee['PARTSTAT']) :
906
-                        'NEEDS-ACTION';
902
+                        strtoupper($attendee['PARTSTAT']) : 'NEEDS-ACTION';
907 903
 
908 904
                     $forceSend =
909 905
                         isset($attendee['SCHEDULE-FORCE-SEND']) ?
910
-                        strtoupper($attendee['SCHEDULE-FORCE-SEND']) :
911
-                        null;
906
+                        strtoupper($attendee['SCHEDULE-FORCE-SEND']) : null;
912 907
 
913 908
                     if (isset($attendees[$attendee->getNormalizedValue()])) {
914 909
                         $attendees[$attendee->getNormalizedValue()]['instances'][$recurId] = [
Please login to merge, or discard this patch.