Skip to content

Commit

Permalink
style: apply codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
tinect committed Dec 27, 2023
1 parent 2b30c73 commit 9bbe2c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/AdapterTestUtilities/FilesystemAdapterTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace League\Flysystem\AdapterTestUtilities;

use League\Flysystem\UnableToDeleteFile;
use const PHP_EOL;
use DateInterval;
use DateTimeImmutable;
Expand All @@ -15,6 +14,7 @@
use League\Flysystem\FileAttributes;
use League\Flysystem\FilesystemAdapter;
use League\Flysystem\StorageAttributes;
use League\Flysystem\UnableToDeleteFile;
use League\Flysystem\UnableToMoveFile;
use League\Flysystem\UnableToProvideChecksum;
use League\Flysystem\UnableToReadFile;
Expand Down
3 changes: 1 addition & 2 deletions src/InMemory/InMemoryFilesystemAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

use function array_keys;
use function rtrim;
use function strpos;

class InMemoryFilesystemAdapter implements FilesystemAdapter
{
Expand Down Expand Up @@ -217,7 +216,7 @@ public function listContents(string $path, bool $deep): iterable
continue;
}

if ($deep === true || !str_contains($subPath, '/')) {
if ($deep === true || ! str_contains($subPath, '/')) {
yield new FileAttributes(ltrim($filePath, '/'), $file->fileSize(), $file->visibility(), $file->lastModified(), $file->mimeType());
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/ZipArchive/ZipArchiveAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function deleteDirectory(string $path): void

$itemPath = $stats['name'];

if (!str_starts_with($itemPath, $prefixedPath)) {
if ( ! str_starts_with($itemPath, $prefixedPath)) {
continue;
}

Expand Down

0 comments on commit 9bbe2c6

Please sign in to comment.