Completed
Branch develop (7eeef6)
by
unknown
23:28
created
htdocs/includes/sabre/sabre/dav/lib/DAV/TemporaryFileFilterPlugin.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
      * @var array
42 42
      */
43 43
     public $temporaryFilePatterns = [
44
-        '/^\._(.*)$/',     // OS/X resource forks
45
-        '/^.DS_Store$/',   // OS/X custom folder settings
44
+        '/^\._(.*)$/', // OS/X resource forks
45
+        '/^.DS_Store$/', // OS/X custom folder settings
46 46
         '/^desktop.ini$/', // Windows custom folder settings
47
-        '/^Thumbs.db$/',   // Windows thumbnail cache
48
-        '/^.(.*).swp$/',   // ViM temporary files
49
-        '/^\.dat(.*)$/',   // Smultron seems to create these
47
+        '/^Thumbs.db$/', // Windows thumbnail cache
48
+        '/^.(.*).swp$/', // ViM temporary files
49
+        '/^\.dat(.*)$/', // Smultron seems to create these
50 50
         '/^~lock.(.*)#$/', // Windows 7 lockfiles
51 51
     ];
52 52
 
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Locks/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,10 +83,10 @@
 block discarded – undo
83 83
      */
84 84
     public function propFind(DAV\PropFind $propFind, DAV\INode $node)
85 85
     {
86
-        $propFind->handle('{DAV:}supportedlock', function () {
86
+        $propFind->handle('{DAV:}supportedlock', function() {
87 87
             return new DAV\Xml\Property\SupportedLock();
88 88
         });
89
-        $propFind->handle('{DAV:}lockdiscovery', function () use ($propFind) {
89
+        $propFind->handle('{DAV:}lockdiscovery', function() use ($propFind) {
90 90
             return new DAV\Xml\Property\LockDiscovery(
91 91
                 $this->getLocks($propFind->getPath())
92 92
             );
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Sync/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
         $self = $this;
58 58
 
59
-        $server->on('report', function ($reportName, $dom, $uri) use ($self) {
59
+        $server->on('report', function($reportName, $dom, $uri) use ($self) {
60 60
             if ('{DAV:}sync-collection' === $reportName) {
61 61
                 $this->server->transactionType = 'report-sync-collection';
62 62
                 $self->syncCollection($uri, $dom);
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      */
189 189
     public function propFind(DAV\PropFind $propFind, DAV\INode $node)
190 190
     {
191
-        $propFind->handle('{DAV:}sync-token', function () use ($node) {
191
+        $propFind->handle('{DAV:}sync-token', function() use ($node) {
192 192
             if (!$node instanceof ISyncCollection || !$token = $node->getSyncToken()) {
193 193
                 return;
194 194
             }
Please login to merge, or discard this patch.
htdocs/includes/sabre/sabre/dav/lib/DAV/Xml/Element/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
         // called. But we don't want this, because a singular element without
181 181
         // child-elements implies 'no value' in {DAV:}prop, so we want to skip
182 182
         // deserializers and just set null for those.
183
-        $reader->elementMap['{DAV:}prop'] = function (Reader $reader) {
183
+        $reader->elementMap['{DAV:}prop'] = function(Reader $reader) {
184 184
             if ($reader->isEmptyElement) {
185 185
                 $reader->next();
186 186
 
Please login to merge, or discard this patch.
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.