Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": ">=8.4",
"ext-fileinfo": "*",
"league/flysystem": "^3.34"
"league/flysystem": "^3.35.2"
},
"require-dev": {
"infocyph/phpforge": "dev-main"
Expand Down
7 changes: 0 additions & 7 deletions src/FileManager/FileCompression.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ public function __destruct()
* @param string|null $zipPath The path in the ZIP archive where the file should be stored.
* If not provided, the file will be stored in the root directory of the ZIP file,
* with its original name.
*
* @return $this
*/
public function addFile(string $filePath, ?string $zipPath = null): self
{
Expand Down Expand Up @@ -146,7 +144,6 @@ public function addFile(string $filePath, ?string $zipPath = null): self
* desired paths inside the ZIP archive. If a value is not provided for
* a key, the basename of the file will be used as the path in the ZIP
* archive.
* @return $this
*/
public function batchAddFiles(array $files): self
{
Expand Down Expand Up @@ -238,7 +235,6 @@ public function checkIntegrity(): bool
* Compress a file or directory into the ZIP archive.
*
* @param string $source The path to the file or directory to compress.
* @return static
*/
public function compress(string $source): self
{
Expand Down Expand Up @@ -283,7 +279,6 @@ public function compress(string $source): self
*
* @param string $source The path to the file or directory to compress.
* @param list<string> $extensions An array of file extensions to include.
* @return static
*/
public function compressWithFilter(string $source, array $extensions = []): self
{
Expand All @@ -309,7 +304,6 @@ public function compressWithFilter(string $source, array $extensions = []): self
* decrypted with this password.
*
* @param string|null $destination The path to decompress the ZIP archive to.
* @return static
* @throws CompressionException
*/
public function decompress(?string $destination = null): self
Expand Down Expand Up @@ -443,7 +437,6 @@ public function save(): self
* `decompress()`.
*
* @param string $path The default path to use for decompression.
* @return static
*/
public function setDefaultDecompressionPath(string $path): self
{
Expand Down