Migrate core code to using symfony/filesystem

webmozart/path-util is retained for plugin compatibility, but is dropped in 5.0
This commit is contained in:
Dylan K. Taylor
2022-10-14 21:51:29 +01:00
parent b3bda788d9
commit 7bcc663b60
38 changed files with 350 additions and 37 deletions

View File

@ -25,7 +25,7 @@ namespace pocketmine\world\format\io\region;
use PHPUnit\Framework\TestCase;
use pocketmine\world\format\ChunkException;
use Webmozart\PathUtil\Path;
use Symfony\Component\Filesystem\Path;
use function bin2hex;
use function clearstatcache;
use function file_exists;