diff --git a/composer.json b/composer.json index 6cc57bf52..9643f0892 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 ad27a3e23..a24c9c952 100644 --- a/src/Psalm/Config.php +++ b/src/Psalm/Config.php @@ -38,9 +38,9 @@ use Psalm\Progress\Progress; 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 96b8c9b98..ee170e5c1 100644 --- a/src/Psalm/Internal/Cli/Psalm.php +++ b/src/Psalm/Internal/Cli/Psalm.php @@ -33,7 +33,7 @@ use Psalm\Progress\VoidProgress; 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;