Skip to content

Commit

Permalink
Prep versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Sep 21, 2024
1 parent 9f708df commit 5cf42ba
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/AdapterTestUtilities/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"require": {
"php": "^8.0.2",
"league/flysystem": "^3.0.0"
"league/flysystem": "^4.0.0"
},
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/AsyncAwsS3/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"require": {
"php": "^8.0.2",
"league/flysystem": "^3.10.0",
"league/flysystem": "^4.0.0",
"league/mime-type-detection": "^1.0.0",
"async-aws/s3": "^1.5 || ^2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/AwsS3V3/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"require": {
"php": "^8.0.2",
"league/flysystem": "^3.10.0",
"league/flysystem": "^4.0.0",
"league/mime-type-detection": "^1.0.0",
"aws/aws-sdk-php": "^3.295.10"
},
Expand Down
2 changes: 1 addition & 1 deletion src/AzureBlobStorage/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"require": {
"php": "^8.0.2",
"league/flysystem": "^3.10.0",
"league/flysystem": "^4.0.0",
"microsoft/azure-storage-blob": "^1.1"
},
"license": "MIT",
Expand Down
22 changes: 18 additions & 4 deletions src/FilesystemReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
/**
* This interface contains everything to read from and inspect
* a filesystem. All methods containing are non-destructive.
*
* @method string publicUrl(string $path, array $config = []) Will be added in 4.0
* @method string temporaryUrl(string $path, DateTimeInterface $expiresAt, array $config = []) Will be added in 4.0
* @method string checksum(string $path, array $config = []) Will be added in 4.0
*/
interface FilesystemReader
{
Expand Down Expand Up @@ -82,4 +78,22 @@ public function mimeType(string $path): string;
* @throws FilesystemException
*/
public function visibility(string $path): string;

/**
* @throws UnableToGeneratePublicUrl
* @throws FilesystemException
*/
public function publicUrl(string $path, array $config = []): string;

/**
* @throws UnableToGeneratePublicUrl
* @throws FilesystemException
*/
public function temporaryUrl(string $path, DateTimeInterface $expiresAt, array $config = []): string;

/**
* @throws UnableToGeneratePublicUrl
* @throws FilesystemException
*/
public function checksum(string $path, array $config = []): string;
}
2 changes: 1 addition & 1 deletion src/Ftp/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": "^8.0.2",
"ext-ftp": "*",
"league/flysystem": "^3.0.0",
"league/flysystem": "^4.0.0",
"league/mime-type-detection": "^1.0.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/GoogleCloudStorage/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": "^8.0.2",
"google/cloud-storage": "^1.23",
"league/flysystem": "^3.10.0",
"league/flysystem": "^4.0.0",
"league/mime-type-detection": "^1.0.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/InMemory/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": {
"php": "^8.0.2",
"ext-fileinfo": "*",
"league/flysystem": "^3.0.0"
"league/flysystem": "^4.0.0"
},
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/Local/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": "^8.0.2",
"ext-fileinfo": "*",
"league/flysystem": "^3.0.0",
"league/flysystem": "^4.0.0",
"league/mime-type-detection": "^1.0.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/PathPrefixing/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"require": {
"php": "^8.0.2",
"league/flysystem": "^3.10.0"
"league/flysystem": "^4.0.0"
},
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/PhpseclibV2/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"require": {
"php": "^8.0.2",
"league/flysystem": "^3.0.0",
"league/flysystem": "^4.0.0",
"league/mime-type-detection": "^1.0.0",
"phpseclib/phpseclib": "^2.0"
},
Expand Down
5 changes: 2 additions & 3 deletions src/PhpseclibV3/ConnectionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@

use phpseclib3\Net\SFTP;

/**
* @method void disconnect()
*/
interface ConnectionProvider
{
public function provideConnection(): SFTP;

public function disconnect(): void;
}
2 changes: 1 addition & 1 deletion src/PhpseclibV3/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"require": {
"php": "^8.0.2",
"league/flysystem": "^3.0.14",
"league/flysystem": "^4.0.0",
"league/mime-type-detection": "^1.0.0",
"phpseclib/phpseclib": "^3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/ReadOnly/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"require": {
"php": "^8.0.2",
"league/flysystem": "^3.10.0"
"league/flysystem": "^4.0.0"
},
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/WebDAV/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"require": {
"php": "^8.0.2",
"league/flysystem": "^3.6.0",
"league/flysystem": "^4.0.0",
"sabre/dav": "^4.6.0"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/ZipArchive/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": "^8.0.2",
"ext-zip": "*",
"league/flysystem": "^3.0.0",
"league/flysystem": "^4.0.0",
"league/mime-type-detection": "^1.0.0"
},
"license": "MIT",
Expand Down

0 comments on commit 5cf42ba

Please sign in to comment.