Skip to content

Commit

Permalink
Fix regex (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Oct 16, 2023
1 parent fba68a7 commit 201a5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TemporaryFilesManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function generateTemporaryFilePath(string $fileIdentifier): string
public function deleteAllTemporaryFiles(string $fileIdentifier): void

Check failure on line 28 in src/TemporaryFilesManager.php

View workflow job for this annotation

GitHub Actions / Roave BC Check

The number of required arguments for Webgriffe\SyliusAkeneoPlugin\TemporaryFilesManager#deleteAllTemporaryFiles() increased from 0 to 1
{
$tempFiles = $this->finder->in($this->temporaryDirectory)->depth('== 0')->files()->name(
'/^' . str_replace('*', '\*', $this->getFilePrefix($fileIdentifier)) . '*/',
'/^' . str_replace('*', '\*', $this->getFilePrefix($fileIdentifier)) . '/',
);
foreach ($tempFiles as $tempFile) {
$this->filesystem->remove($tempFile->getPathname());
Expand Down

0 comments on commit 201a5f5

Please sign in to comment.