Completed
Push — master ( f58c14...cabe51 )
by Andrey
07:14
created
core/connector/php/vendor/aws/aws-sdk-php/src/S3/S3MultiRegionClient.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -286,6 +286,9 @@
 block discarded – undo
286 286
             });
287 287
     }
288 288
 
289
+    /**
290
+     * @return string
291
+     */
289 292
     private function getCacheKey($bucketName)
290 293
     {
291 294
         return "aws:s3:{$bucketName}:location";
Please login to merge, or discard this patch.
ckfinder/core/connector/php/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,6 +205,9 @@  discard block
 block discarded – undo
205 205
         return $this->body->write($data);
206 206
     }
207 207
 
208
+    /**
209
+     * @param string $path
210
+     */
208 211
     public function unlink($path)
209 212
     {
210 213
         $this->initProtocol($path);
@@ -263,6 +266,9 @@  discard block
 block discarded – undo
263 266
         $this->protocol = $parts[0] ?: 's3';
264 267
     }
265 268
 
269
+    /**
270
+     * @param string $path
271
+     */
266 272
     private function createStat($path, $flags)
267 273
     {
268 274
         $this->initProtocol($path);
@@ -442,7 +448,7 @@  discard block
 block discarded – undo
442 448
     /**
443 449
      * This method is called in response to rewinddir()
444 450
      *
445
-     * @return boolean true on success
451
+     * @return boolean|null true on success
446 452
      */
447 453
     public function dir_rewinddir()
448 454
     {
@@ -558,6 +564,7 @@  discard block
 block discarded – undo
558 564
     /**
559 565
      * Validates the provided stream arguments for fopen and returns an array
560 566
      * of errors.
567
+     * @param string $mode
561 568
      */
562 569
     private function validate($path, $mode)
563 570
     {
Please login to merge, or discard this patch.
web/ckfinder/core/connector/php/vendor/aws/aws-sdk-php/src/S3/Transfer.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -214,6 +214,9 @@  discard block
 block discarded – undo
214 214
         return rtrim(str_replace('\\', '/', $path), '/');
215 215
     }
216 216
 
217
+    /**
218
+     * @param string $uri
219
+     */
217 220
     private function resolveUri($uri)
218 221
     {
219 222
         $resolved = [];
@@ -380,6 +383,9 @@  discard block
 block discarded – undo
380 383
         return $relative_file_path;
381 384
     }
382 385
 
386
+    /**
387
+     * @param resource $debug
388
+     */
383 389
     private function addDebugToBefore($debug)
384 390
     {
385 391
         $before = $this->before;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Aws\CommandInterface;
6 6
 use Aws\Exception\AwsException;
7 7
 use GuzzleHttp\Promise;
8
-use GuzzleHttp\Psr7;
9 8
 use GuzzleHttp\Promise\PromisorInterface;
10 9
 use Iterator;
11 10
 
Please login to merge, or discard this patch.
core/connector/php/vendor/aws/aws-sdk-php/src/Signature/SignatureV4.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -174,6 +174,12 @@
 block discarded – undo
174 174
         return '/' . str_replace('%2F', '/', $doubleEncoded);
175 175
     }
176 176
 
177
+    /**
178
+     * @param string $longDate
179
+     * @param string $creq
180
+     *
181
+     * @return string
182
+     */
177 183
     private function createStringToSign($longDate, $credentialScope, $creq)
178 184
     {
179 185
         $hash = hash('sha256', $creq);
Please login to merge, or discard this patch.
ckfinder/core/connector/php/vendor/aws/aws-sdk-php/src/TraceMiddleware.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@  discard block
 block discarded – undo
121 121
         $this->prevInput = $entry;
122 122
     }
123 123
 
124
+    /**
125
+     * @param double $start
126
+     */
124 127
     private function stepOutput($start, $entry)
125 128
     {
126 129
         static $keys = ['result', 'error'];
@@ -130,6 +133,9 @@  discard block
 block discarded – undo
130 133
         $this->prevOutput = $entry;
131 134
     }
132 135
 
136
+    /**
137
+     * @param string $title
138
+     */
133 139
     private function compareStep(array $a, array $b, $title, array $keys)
134 140
     {
135 141
         $changes = [];
@@ -280,6 +286,9 @@  discard block
 block discarded – undo
280 286
         }
281 287
     }
282 288
 
289
+    /**
290
+     * @param string $value
291
+     */
283 292
     private function write($value)
284 293
     {
285 294
         if ($this->config['scrub_auth']) {
Please login to merge, or discard this patch.
vendor/cksource/ckfinder/src/CKSource/CKFinder/Backend/Adapter/Local.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
      *
227 227
      * @param string $path
228 228
      *
229
-     * @return resource
229
+     * @return boolean
230 230
      */
231 231
     public function createWriteStream($path)
232 232
     {
Please login to merge, or discard this patch.
php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Backend/Backend.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@
 block discarded – undo
307 307
      *
308 308
      * @param string $directoryPath
309 309
      *
310
-     * @return bool
310
+     * @return boolean|null
311 311
      */
312 312
     public function hasDirectory($directoryPath)
313 313
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 
17 17
 use CKSource\CKFinder\Acl\AclInterface;
18 18
 use CKSource\CKFinder\Acl\Permission;
19
-use CKSource\CKFinder\Backend\Adapter\AwsS3;
20 19
 use CKSource\CKFinder\Backend\Adapter\EmulateRenameDirectoryInterface;
21 20
 use CKSource\CKFinder\CKFinder;
22 21
 use CKSource\CKFinder\Config;
Please login to merge, or discard this patch.
cksource/ckfinder/src/CKSource/CKFinder/Cache/Adapter/BackendAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      *
94 94
      * @param string $key
95 95
      *
96
-     * @return bool true if successful
96
+     * @return false|null true if successful
97 97
      */
98 98
     public function delete($key)
99 99
     {
Please login to merge, or discard this patch.
php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Command/Proxy.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use CKSource\CKFinder\Acl\Permission;
18 18
 use CKSource\CKFinder\Config;
19 19
 use CKSource\CKFinder\Event\CKFinderEvent;
20
-use CKSource\CKFinder\Event\DownloadFileEvent;
21 20
 use CKSource\CKFinder\Event\ProxyDownloadEvent;
22 21
 use CKSource\CKFinder\Exception\AccessDeniedException;
23 22
 use CKSource\CKFinder\Exception\FileNotFoundException;
Please login to merge, or discard this patch.