From 02b91cc54eca5cd1d7f4c8782fa1c5cdd3455972 Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Tue, 4 Jan 2022 15:15:34 +0200 Subject: [PATCH] Replaced deprecated webmozart/path-util --- composer.json | 2 +- src/Psalm/Config.php | 2 +- src/Psalm/Internal/Cli/Psalm.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 6cc57bf5284..9643f0892b3 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "openlss/lib-array2xml": "^1.0", "sebastian/diff": "^4.0", "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0 || ^6.0", - "webmozart/path-util": "^2.3" + "symfony/filesystem": "^5.4 || ^6.0" }, "provide": { "psalm/psalm": "self.version" diff --git a/src/Psalm/Config.php b/src/Psalm/Config.php index ad27a3e237a..a24c9c952e6 100644 --- a/src/Psalm/Config.php +++ b/src/Psalm/Config.php @@ -38,9 +38,9 @@ use Psalm\Progress\VoidProgress; use SimpleXMLElement; use SimpleXMLIterator; +use Symfony\Component\Filesystem\Path; use Throwable; use UnexpectedValueException; -use Webmozart\PathUtil\Path; use XdgBaseDir\Xdg; use stdClass; diff --git a/src/Psalm/Internal/Cli/Psalm.php b/src/Psalm/Internal/Cli/Psalm.php index 96b8c9b984b..ee170e5c1b7 100644 --- a/src/Psalm/Internal/Cli/Psalm.php +++ b/src/Psalm/Internal/Cli/Psalm.php @@ -33,7 +33,7 @@ use Psalm\Report; use Psalm\Report\ReportOptions; use RuntimeException; -use Webmozart\PathUtil\Path; +use Symfony\Component\Filesystem\Path; use function array_filter; use function array_key_exists;