Skip to content

Commit b29299f

Browse files
authored
Replace webmozart/path-util with symfony/filesystem (#11)
1 parent 1a2531b commit b29299f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"require": {
1212
"php": "^7.3 || ^8.0",
13-
"webmozart/path-util": "^2.3"
13+
"symfony/filesystem": "^4.2 || ^5.0"
1414
},
1515
"require-dev": {
1616
"dms/phpunit-arraysubset-asserts": "dev-master",
@@ -43,5 +43,8 @@
4343
"vendor/bin/phpstan analyse lib -c phpstan.neon",
4444
"vendor/bin/phpunit"
4545
]
46+
},
47+
"config": {
48+
"allow-plugins": true
4649
}
4750
}

lib/Workspace.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use RecursiveIteratorIterator;
88
use RuntimeException;
99
use SplFileInfo;
10-
use Webmozart\PathUtil\Path;
10+
use Symfony\Component\Filesystem\Path;
1111

1212
class Workspace
1313
{

0 commit comments

Comments
 (0)