Skip to content

Commit

Permalink
Craft 5 update
Browse files Browse the repository at this point in the history
  • Loading branch information
f-elix committed Jul 25, 2024
1 parent 5d05689 commit 79689a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"docs": "https://github.com/DeuxHuitHuit/craft-cloudflare-images/blob/dev/README.md"
},
"require": {
"php": "^8.1|^8.2|^8.3",
"craftcms/cms": "^4.5.10"
"php": "^8.2|^8.3",
"craftcms/cms": "^5.0.0"
},
"require-dev": {
"craftcms/ecs": "dev-main",
Expand Down
4 changes: 2 additions & 2 deletions src/fs/CloudflareImagesFs.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function deleteFile(string $path): void
/**
* @inheritdoc
*/
public function renameFile(string $path, string $newPath): void
public function renameFile(string $path, string $newPath, array $config = []): void
{
try {
$imageId = Filename::toId($path);
Expand All @@ -267,7 +267,7 @@ public function renameFile(string $path, string $newPath): void
/**
* @inheritdoc
*/
public function copyFile(string $path, string $newPath): void
public function copyFile(string $path, string $newPath, array $config = []): void
{
throw new FsException('Cloudflare Images does not support copying files');
}
Expand Down

0 comments on commit 79689a4

Please sign in to comment.