Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Feb 18, 2024
1 parent fbf1ba2 commit 9eee94e
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 55 deletions.
58 changes: 29 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions src/core/etl/src/Flow/ETL/Filesystem/LocalFilesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,28 +108,28 @@ public function rm(Path $path) : void
{
if (!$path->isLocal()) {
throw new RuntimeException(\sprintf('Path "%s" is not local', $path->uri()));
}
}

if (!$path->isPattern()) {
if (\is_dir($path->path())) {
$this->rmdir($path->path());
} else {
if (\file_exists($path->path())) {
\unlink($path->path());
}
if (!$path->isPattern()) {
if (\is_dir($path->path())) {
$this->rmdir($path->path());
} else {
if (\file_exists($path->path())) {
\unlink($path->path());
}

return;
}

foreach (Glob::glob($path->path()) as $filePath) {
if (\is_dir($filePath)) {
$this->rmdir($filePath);
} else {
\unlink($filePath);
}
return;
}

foreach (Glob::glob($path->path()) as $filePath) {
if (\is_dir($filePath)) {
$this->rmdir($filePath);
} else {
\unlink($filePath);
}
}
}

public function scan(Path $path, PartitionFilter $partitionFilter = new NoopFilter()) : \Generator
{
Expand Down
4 changes: 0 additions & 4 deletions src/core/etl/src/Flow/ETL/Row/Entry/XMLNodeEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public function __serialize() : array
public function __toString() : string
{
/**
* @psalm-suppress PossiblyNullReference
*
* @phpstan-ignore-next-line
*/
return $this->value->ownerDocument->saveXML($this->value);
Expand Down Expand Up @@ -103,8 +101,6 @@ public function rename(string $name) : Entry
public function toString() : string
{
/**
* @psalm-suppress PossiblyNullReference
*
* @phpstan-ignore-next-line
*/
return $this->value->ownerDocument->saveXML($this->value);
Expand Down
12 changes: 6 additions & 6 deletions tools/psalm/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9eee94e

Please sign in to comment.