Skip to content

Commit a569993

Browse files
committed
Update flysystem to 1.1.4
Signed-off-by: Daniel Kesselberg <[email protected]>
1 parent 9719b46 commit a569993

File tree

14 files changed

+68
-52
lines changed

14 files changed

+68
-52
lines changed

composer.lock

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer/autoload_classmap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,6 +1529,7 @@
15291529
'League\\Flysystem\\ConfigAwareTrait' => $vendorDir . '/league/flysystem/src/ConfigAwareTrait.php',
15301530
'League\\Flysystem\\ConnectionErrorException' => $vendorDir . '/league/flysystem/src/ConnectionErrorException.php',
15311531
'League\\Flysystem\\ConnectionRuntimeException' => $vendorDir . '/league/flysystem/src/ConnectionRuntimeException.php',
1532+
'League\\Flysystem\\CorruptedPathDetected' => $vendorDir . '/league/flysystem/src/CorruptedPathDetected.php',
15321533
'League\\Flysystem\\Directory' => $vendorDir . '/league/flysystem/src/Directory.php',
15331534
'League\\Flysystem\\Exception' => $vendorDir . '/league/flysystem/src/Exception.php',
15341535
'League\\Flysystem\\File' => $vendorDir . '/league/flysystem/src/File.php',

composer/autoload_static.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,6 +2161,7 @@ class ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652
21612161
'League\\Flysystem\\ConfigAwareTrait' => __DIR__ . '/..' . '/league/flysystem/src/ConfigAwareTrait.php',
21622162
'League\\Flysystem\\ConnectionErrorException' => __DIR__ . '/..' . '/league/flysystem/src/ConnectionErrorException.php',
21632163
'League\\Flysystem\\ConnectionRuntimeException' => __DIR__ . '/..' . '/league/flysystem/src/ConnectionRuntimeException.php',
2164+
'League\\Flysystem\\CorruptedPathDetected' => __DIR__ . '/..' . '/league/flysystem/src/CorruptedPathDetected.php',
21642165
'League\\Flysystem\\Directory' => __DIR__ . '/..' . '/league/flysystem/src/Directory.php',
21652166
'League\\Flysystem\\Exception' => __DIR__ . '/..' . '/league/flysystem/src/Exception.php',
21662167
'League\\Flysystem\\File' => __DIR__ . '/..' . '/league/flysystem/src/File.php',

composer/installed.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1641,17 +1641,17 @@
16411641
},
16421642
{
16431643
"name": "league/flysystem",
1644-
"version": "1.1.3",
1645-
"version_normalized": "1.1.3.0",
1644+
"version": "1.1.4",
1645+
"version_normalized": "1.1.4.0",
16461646
"source": {
16471647
"type": "git",
16481648
"url": "https://github.com/thephpleague/flysystem.git",
1649-
"reference": "9be3b16c877d477357c015cec057548cf9b2a14a"
1649+
"reference": "f3ad69181b8afed2c9edf7be5a2918144ff4ea32"
16501650
},
16511651
"dist": {
16521652
"type": "zip",
1653-
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/9be3b16c877d477357c015cec057548cf9b2a14a",
1654-
"reference": "9be3b16c877d477357c015cec057548cf9b2a14a",
1653+
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f3ad69181b8afed2c9edf7be5a2918144ff4ea32",
1654+
"reference": "f3ad69181b8afed2c9edf7be5a2918144ff4ea32",
16551655
"shasum": ""
16561656
},
16571657
"require": {
@@ -1667,7 +1667,6 @@
16671667
"phpunit/phpunit": "^8.5.8"
16681668
},
16691669
"suggest": {
1670-
"ext-fileinfo": "Required for MimeType",
16711670
"ext-ftp": "Allows you to use FTP server storage",
16721671
"ext-openssl": "Allows you to use FTPS server storage",
16731672
"league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2",
@@ -1682,7 +1681,7 @@
16821681
"spatie/flysystem-dropbox": "Allows you to use Dropbox storage",
16831682
"srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications"
16841683
},
1685-
"time": "2020-08-23T07:39:11+00:00",
1684+
"time": "2021-06-23T21:56:05+00:00",
16861685
"type": "library",
16871686
"extra": {
16881687
"branch-alias": {
@@ -1727,7 +1726,7 @@
17271726
],
17281727
"support": {
17291728
"issues": "https://github.com/thephpleague/flysystem/issues",
1730-
"source": "https://github.com/thephpleague/flysystem/tree/1.x"
1729+
"source": "https://github.com/thephpleague/flysystem/tree/1.1.4"
17311730
},
17321731
"funding": [
17331732
{
@@ -6290,6 +6289,6 @@
62906289
"install-path": "../web-auth/webauthn-lib"
62916290
}
62926291
],
6293-
"dev": false,
6292+
"dev": true,
62946293
"dev-package-names": []
62956294
}

composer/installed.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php return array(
22
'root' => array(
3-
'pretty_version' => 'dev-master',
4-
'version' => 'dev-master',
3+
'pretty_version' => 'v22.0.0rc2',
4+
'version' => '22.0.0.0-RC2',
55
'type' => 'library',
66
'install_path' => __DIR__ . '/../',
77
'aliases' => array(),
8-
'reference' => 'e6a054be58a6c8b2fda92fbc7fbfd898f26fa0d2',
8+
'reference' => '9719b46b7c61239adae3649751bbc2d510e9700a',
99
'name' => 'nextcloud/3rdparty',
10-
'dev' => false,
10+
'dev' => true,
1111
),
1212
'versions' => array(
1313
'aws/aws-sdk-php' => array(
@@ -218,12 +218,12 @@
218218
'dev_requirement' => false,
219219
),
220220
'league/flysystem' => array(
221-
'pretty_version' => '1.1.3',
222-
'version' => '1.1.3.0',
221+
'pretty_version' => '1.1.4',
222+
'version' => '1.1.4.0',
223223
'type' => 'library',
224224
'install_path' => __DIR__ . '/../league/flysystem',
225225
'aliases' => array(),
226-
'reference' => '9be3b16c877d477357c015cec057548cf9b2a14a',
226+
'reference' => 'f3ad69181b8afed2c9edf7be5a2918144ff4ea32',
227227
'dev_requirement' => false,
228228
),
229229
'league/mime-type-detection' => array(
@@ -281,12 +281,12 @@
281281
'dev_requirement' => false,
282282
),
283283
'nextcloud/3rdparty' => array(
284-
'pretty_version' => 'dev-master',
285-
'version' => 'dev-master',
284+
'pretty_version' => 'v22.0.0rc2',
285+
'version' => '22.0.0.0-RC2',
286286
'type' => 'library',
287287
'install_path' => __DIR__ . '/../',
288288
'aliases' => array(),
289-
'reference' => 'e6a054be58a6c8b2fda92fbc7fbfd898f26fa0d2',
289+
'reference' => '9719b46b7c61239adae3649751bbc2d510e9700a',
290290
'dev_requirement' => false,
291291
),
292292
'nextcloud/lognormalizer' => array(

composer/package-versions-deprecated/src/PackageVersions/Versions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ final class Versions
5656
'icewind/searchdav' => 'v2.0.0@c69806d900c2c9a5954bfabc80178d6eb0d63df4',
5757
'icewind/streams' => 'v0.7.5@0c6aae16ebdadb257f0bd089c1e1e4cf5e20ddc2',
5858
'justinrainbow/json-schema' => '5.2.10@2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b',
59-
'league/flysystem' => '1.1.3@9be3b16c877d477357c015cec057548cf9b2a14a',
59+
'league/flysystem' => '1.1.4@f3ad69181b8afed2c9edf7be5a2918144ff4ea32',
6060
'league/mime-type-detection' => '1.7.0@3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3',
6161
'league/uri' => '6.4.0@09da64118eaf4c5d52f9923a1e6a5be1da52fd9a',
6262
'league/uri-interfaces' => '2.2.0@667f150e589d65d79c89ffe662e426704f84224f',
@@ -120,7 +120,7 @@ final class Versions
120120
'web-auth/cose-lib' => 'v3.3.1@eea6fae63ff5c81bf98c115b1be5f38a69682c16',
121121
'web-auth/metadata-service' => 'v3.3.1@8488d3a832a38cc81c670fce05de1e515c6e64b1',
122122
'web-auth/webauthn-lib' => 'v3.3.1@e411527a41c1013512fccdfce61681eb36484c77',
123-
'nextcloud/3rdparty' => 'dev-master@e6a054be58a6c8b2fda92fbc7fbfd898f26fa0d2',
123+
'nextcloud/3rdparty' => 'v22.0.0rc2@9719b46b7c61239adae3649751bbc2d510e9700a',
124124
);
125125

126126
private function __construct()

league/flysystem/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
}
4141
},
4242
"suggest": {
43-
"ext-fileinfo": "Required for MimeType",
4443
"league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem",
4544
"league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files",
4645
"league/flysystem-azure": "Allows you to use Windows Azure Blob storage",
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
namespace League\Flysystem;
4+
5+
use LogicException;
6+
7+
class CorruptedPathDetected extends LogicException implements FilesystemException
8+
{
9+
/**
10+
* @param string $path
11+
* @return CorruptedPathDetected
12+
*/
13+
public static function forPath($path)
14+
{
15+
return new CorruptedPathDetected("Corrupted path detected: " . $path);
16+
}
17+
}

league/flysystem/src/Filesystem.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88
use League\Flysystem\Util\ContentListingFormatter;
99

1010
/**
11-
* @method array getWithMetadata(string $path, array $metadata)
12-
* @method bool forceCopy(string $path, string $newpath)
13-
* @method bool forceRename(string $path, string $newpath)
14-
* @method array listFiles(string $path = '', boolean $recursive = false)
15-
* @method array listPaths(string $path = '', boolean $recursive = false)
16-
* @method array listWith(array $keys = [], $directory = '', $recursive = false)
11+
* @method void emptyDir(string $dirname)
12+
* @method array|false getWithMetadata(string $path, string[] $metadata)
13+
* @method bool forceCopy(string $path, string $newpath)
14+
* @method bool forceRename(string $path, string $newpath)
15+
* @method array listFiles(string $path = '', boolean $recursive = false)
16+
* @method string[] listPaths(string $path = '', boolean $recursive = false)
17+
* @method array listWith(string[] $keys = [], $directory = '', $recursive = false)
1718
*/
1819
class Filesystem implements FilesystemInterface
1920
{

league/flysystem/src/MountManager.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
* @method void assertPresent($path)
2121
* @method void assertAbsent($path)
2222
* @method Filesystem addPlugin(PluginInterface $plugin)
23-
*
24-
* @deprecated This functionality will be removed in 2.0
2523
*/
2624
class MountManager implements FilesystemInterface
2725
{

0 commit comments

Comments
 (0)