From 9eee94e59148fca07bf5b4483c32353f80dae15e Mon Sep 17 00:00:00 2001 From: Norbert Orzechowicz Date: Sun, 18 Feb 2024 21:00:15 +0100 Subject: [PATCH] Updated dependencies --- composer.lock | 58 +++++++++---------- .../Flow/ETL/Filesystem/LocalFilesystem.php | 32 +++++----- .../src/Flow/ETL/Row/Entry/XMLNodeEntry.php | 4 -- tools/psalm/composer.lock | 12 ++-- 4 files changed, 51 insertions(+), 55 deletions(-) diff --git a/composer.lock b/composer.lock index 353c10708..c4bd7ce9f 100644 --- a/composer.lock +++ b/composer.lock @@ -1307,16 +1307,16 @@ }, { "name": "meilisearch/meilisearch-php", - "version": "v1.6.0", + "version": "v1.6.1", "source": { "type": "git", "url": "https://github.com/meilisearch/meilisearch-php.git", - "reference": "4dbb26d583bd14506784846fb86cbb408007b132" + "reference": "a0bcb5ae8e8e32dec1d28613b53dc0360d995983" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/meilisearch/meilisearch-php/zipball/4dbb26d583bd14506784846fb86cbb408007b132", - "reference": "4dbb26d583bd14506784846fb86cbb408007b132", + "url": "https://api.github.com/repos/meilisearch/meilisearch-php/zipball/a0bcb5ae8e8e32dec1d28613b53dc0360d995983", + "reference": "a0bcb5ae8e8e32dec1d28613b53dc0360d995983", "shasum": "" }, "require": { @@ -1331,7 +1331,7 @@ "guzzlehttp/guzzle": "^7.1", "http-interop/http-factory-guzzle": "^1.0", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "1.10.50", + "phpstan/phpstan": "1.10.57", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-strict-rules": "^1.1", @@ -1369,9 +1369,9 @@ ], "support": { "issues": "https://github.com/meilisearch/meilisearch-php/issues", - "source": "https://github.com/meilisearch/meilisearch-php/tree/v1.6.0" + "source": "https://github.com/meilisearch/meilisearch-php/tree/v1.6.1" }, - "time": "2024-01-15T13:07:32+00:00" + "time": "2024-02-16T13:42:26+00:00" }, { "name": "monolog/monolog", @@ -3618,16 +3618,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.298.7", + "version": "3.299.1", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "b4d98bfc70df146774bf9b04f5ac5b39955fbad2" + "reference": "a0f87b8e8bfb9afd0ffd702fcda556b465eee457" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/b4d98bfc70df146774bf9b04f5ac5b39955fbad2", - "reference": "b4d98bfc70df146774bf9b04f5ac5b39955fbad2", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/a0f87b8e8bfb9afd0ffd702fcda556b465eee457", + "reference": "a0f87b8e8bfb9afd0ffd702fcda556b465eee457", "shasum": "" }, "require": { @@ -3707,9 +3707,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.298.7" + "source": "https://github.com/aws/aws-sdk-php/tree/3.299.1" }, - "time": "2024-02-09T19:07:04+00:00" + "time": "2024-02-16T19:08:34+00:00" }, { "name": "brick/math", @@ -4156,41 +4156,41 @@ }, { "name": "moneyphp/money", - "version": "v4.4.0", + "version": "v4.5.0", "source": { "type": "git", "url": "https://github.com/moneyphp/money.git", - "reference": "5e60aebf09f709dd4ea16bf85e66d65301c0d172" + "reference": "a1daa7daf159b4044e3d0c34c41fe2be5860e850" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/moneyphp/money/zipball/5e60aebf09f709dd4ea16bf85e66d65301c0d172", - "reference": "5e60aebf09f709dd4ea16bf85e66d65301c0d172", + "url": "https://api.github.com/repos/moneyphp/money/zipball/a1daa7daf159b4044e3d0c34c41fe2be5860e850", + "reference": "a1daa7daf159b4044e3d0c34c41fe2be5860e850", "shasum": "" }, "require": { "ext-bcmath": "*", "ext-filter": "*", "ext-json": "*", - "php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "cache/taggable-cache": "^1.1.0", - "doctrine/coding-standard": "^9.0", - "doctrine/instantiator": "^1.4.0", + "doctrine/coding-standard": "^12.0", + "doctrine/instantiator": "^1.5.0 || ^2.0", "ext-gmp": "*", "ext-intl": "*", - "florianv/exchanger": "^2.6.3", + "florianv/exchanger": "^2.8.1", "florianv/swap": "^4.3.0", - "moneyphp/crypto-currencies": "^1.0.0", - "moneyphp/iso-currencies": "^3.2.1", - "php-http/message": "^1.11.0", - "php-http/mock-client": "^1.4.1", + "moneyphp/crypto-currencies": "^1.1.0", + "moneyphp/iso-currencies": "^3.4", + "php-http/message": "^1.16.0", + "php-http/mock-client": "^1.6.0", "phpbench/phpbench": "^1.2.5", - "phpunit/phpunit": "^9.5.4", + "phpunit/phpunit": "^10.5.9", "psalm/plugin-phpunit": "^0.18.4", "psr/cache": "^1.0.1 || ^2.0 || ^3.0", - "vimeo/psalm": "~5.15.0" + "vimeo/psalm": "~5.20.0" }, "suggest": { "ext-gmp": "Calculate without integer limits", @@ -4238,9 +4238,9 @@ ], "support": { "issues": "https://github.com/moneyphp/money/issues", - "source": "https://github.com/moneyphp/money/tree/v4.4.0" + "source": "https://github.com/moneyphp/money/tree/v4.5.0" }, - "time": "2024-01-24T08:29:16+00:00" + "time": "2024-02-15T19:47:21+00:00" }, { "name": "mtdowling/jmespath.php", diff --git a/src/core/etl/src/Flow/ETL/Filesystem/LocalFilesystem.php b/src/core/etl/src/Flow/ETL/Filesystem/LocalFilesystem.php index 7e9f83c95..e97f0cb38 100644 --- a/src/core/etl/src/Flow/ETL/Filesystem/LocalFilesystem.php +++ b/src/core/etl/src/Flow/ETL/Filesystem/LocalFilesystem.php @@ -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 { diff --git a/src/core/etl/src/Flow/ETL/Row/Entry/XMLNodeEntry.php b/src/core/etl/src/Flow/ETL/Row/Entry/XMLNodeEntry.php index 0a7cbf2eb..2afdf0641 100644 --- a/src/core/etl/src/Flow/ETL/Row/Entry/XMLNodeEntry.php +++ b/src/core/etl/src/Flow/ETL/Row/Entry/XMLNodeEntry.php @@ -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); @@ -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); diff --git a/tools/psalm/composer.lock b/tools/psalm/composer.lock index 2ec988137..d9512931c 100644 --- a/tools/psalm/composer.lock +++ b/tools/psalm/composer.lock @@ -9,16 +9,16 @@ "packages-dev": [ { "name": "psalm/phar", - "version": "5.21.1", + "version": "5.22.1", "source": { "type": "git", "url": "https://github.com/psalm/phar.git", - "reference": "e83ab79038764c4d6ead308635d5ffe6e7e5f483" + "reference": "e69b15968ed39a66bd1a8ed1b7cbb07857d1cd1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/phar/zipball/e83ab79038764c4d6ead308635d5ffe6e7e5f483", - "reference": "e83ab79038764c4d6ead308635d5ffe6e7e5f483", + "url": "https://api.github.com/repos/psalm/phar/zipball/e69b15968ed39a66bd1a8ed1b7cbb07857d1cd1f", + "reference": "e69b15968ed39a66bd1a8ed1b7cbb07857d1cd1f", "shasum": "" }, "require": { @@ -38,9 +38,9 @@ "description": "Composer-based Psalm Phar", "support": { "issues": "https://github.com/psalm/phar/issues", - "source": "https://github.com/psalm/phar/tree/5.21.1" + "source": "https://github.com/psalm/phar/tree/5.22.1" }, - "time": "2024-02-01T01:08:21+00:00" + "time": "2024-02-15T22:59:35+00:00" } ], "aliases": [],