Skip to content

Commit

Permalink
feat: update platformcommunity/flysystem-bunnycdn to 3.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tinect authored Apr 25, 2024
1 parent 2c5baaf commit 0bda673
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG_en-GB.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# UNRELEASED

* Feat: update adapter to fix some issues: prevent deleting file when moving to same destination, ignore NotFoundExceoption when deleting directory, determine the correct type of file or directory on the specific methods

# 3.3.1

* Feat: Add support for old shopware 6.5.0.0
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"require": {
"shopware/core": "~6.5.0||~6.6.0",
"platformcommunity/flysystem-bunnycdn": "^3.3.1",
"platformcommunity/flysystem-bunnycdn": "^3.3.4",
"league/flysystem-path-prefixing": "^3.10.3",
"ajgl/flysystem-replicate": "^2.2",
"tinect/flysystem-garbage": "^1.0"
Expand Down
14 changes: 0 additions & 14 deletions src/Adapter/Shopware6BunnyCdnAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,4 @@ public function fileExists(string $path): bool

return parent::fileExists($path);
}

/**
* TODO: implement it in external project. see https://github.com/PlatformCommunity/flysystem-bunnycdn/issues/70
*
* @inheritDoc
*/
public function move(string $source, string $destination, Config $config): void
{
if ($source === $destination) {
return;
}

parent::move($source, $destination, $config);
}
}

0 comments on commit 0bda673

Please sign in to comment.