From b07c360f7e74c452ba245d137bd9ad215d21d00e Mon Sep 17 00:00:00 2001 From: Laurent Cherpit Date: Fri, 17 Dec 2021 00:12:06 +0100 Subject: [PATCH] PackageManagerInterface deprecated in flow 6 use Neos\Flow\Package\PackageManager; --- Classes/Package.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Package.php b/Classes/Package.php index 708c39d..fe794bb 100644 --- a/Classes/Package.php +++ b/Classes/Package.php @@ -6,7 +6,7 @@ use Neos\Flow\Core\Bootstrap; use Neos\Flow\Monitor\FileMonitor; use Neos\Flow\Package\Package as BasePackage; -use Neos\Flow\Package\PackageManagerInterface; +use Neos\Flow\Package\PackageManager; use Neos\Fusion\Core\Cache\FileMonitorListener; class Package extends BasePackage @@ -20,7 +20,7 @@ public function boot(Bootstrap $bootstrap) $dispatcher->connect(Sequence::class, 'afterInvokeStep', function ($step) use ($bootstrap, $dispatcher) { if ($step->getIdentifier() === 'neos.flow:systemfilemonitor') { $fileMonitor = FileMonitor::createFileMonitorAtBoot('Fusion_Files', $bootstrap); - $packageManager = $bootstrap->getEarlyInstance(PackageManagerInterface::class); + $packageManager = $bootstrap->getEarlyInstance(PackageManager::class); foreach ($packageManager->getFlowPackages() as $packageKey => $package) { if ($packageManager->isPackageFrozen($packageKey)) { continue;