Skip to content

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Apr 7, 2024
1 parent d2c6e13 commit 66ea75f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Ftp/FtpConnectionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace League\Flysystem\Ftp;

use const FTP_USEPASVADDRESS;
use function error_clear_last;
use function error_get_last;
use const FTP_USEPASVADDRESS;

class FtpConnectionProvider implements ConnectionProvider
{
Expand Down
4 changes: 2 additions & 2 deletions src/ZipArchive/ZipArchiveAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,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 Expand Up @@ -299,7 +299,7 @@ public function listContents(string $path, bool $deep): iterable

if (
$location === $itemPath
|| ($deep && $location !== '' && !str_starts_with($itemPath, $location))
|| ($deep && $location !== '' && ! str_starts_with($itemPath, $location))
|| ($deep === false && ! $this->isAtRootDirectory($location, $itemPath))
) {
continue;
Expand Down

0 comments on commit 66ea75f

Please sign in to comment.