From 496692181fd40bfe7ad7ea5212953b8f47007228 Mon Sep 17 00:00:00 2001 From: Johannes Schultze Date: Tue, 5 Mar 2024 13:17:42 +0100 Subject: [PATCH] Switched from Zend to Laminas --- Module.php | 6 +++--- src/BeluginoCover/Controller/CoverControllerFactory.php | 2 +- src/BeluginoCover/Cover/Loader.php | 2 +- src/BeluginoCover/Cover/LoaderFactory.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Module.php b/Module.php index f3312ae..2a70c4c 100644 --- a/Module.php +++ b/Module.php @@ -26,8 +26,8 @@ * @link https://github.com/dmj/vf2-proxy */ namespace BeluginoCover; -use Zend\ModuleManager\ModuleManager, - Zend\Mvc\MvcEvent; +use Laminas\ModuleManager\ModuleManager, + Laminas\Mvc\MvcEvent; /** * Template for ZF2 module for storing local overrides. @@ -58,7 +58,7 @@ public function getConfig() public function getAutoloaderConfig() { return array( - 'Zend\Loader\StandardAutoloader' => array( + 'Laminas\Loader\StandardAutoloader' => array( 'namespaces' => array( __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, ), diff --git a/src/BeluginoCover/Controller/CoverControllerFactory.php b/src/BeluginoCover/Controller/CoverControllerFactory.php index 8d23114..5e90384 100644 --- a/src/BeluginoCover/Controller/CoverControllerFactory.php +++ b/src/BeluginoCover/Controller/CoverControllerFactory.php @@ -28,7 +28,7 @@ namespace BeluginoCover\Controller; use Interop\Container\ContainerInterface; -use Zend\ServiceManager\Factory\FactoryInterface; +use Laminas\ServiceManager\Factory\FactoryInterface; /** * Cover controller factory. diff --git a/src/BeluginoCover/Cover/Loader.php b/src/BeluginoCover/Cover/Loader.php index 9b09789..ae8af24 100644 --- a/src/BeluginoCover/Cover/Loader.php +++ b/src/BeluginoCover/Cover/Loader.php @@ -51,7 +51,7 @@ class Loader extends \VuFind\Cover\Loader /** * Constructor * - * @param \Zend\Config\Config $config VuFind configuration + * @param \Laminas\Config\Config $config VuFind configuration * @param ApiManager $manager Plugin manager for API handlers * @param \VuFindTheme\ThemeInfo $theme VuFind theme tools * @param \VuFindHttp\HttpService $httpService HTTP client factory diff --git a/src/BeluginoCover/Cover/LoaderFactory.php b/src/BeluginoCover/Cover/LoaderFactory.php index 0b4860d..691a8af 100644 --- a/src/BeluginoCover/Cover/LoaderFactory.php +++ b/src/BeluginoCover/Cover/LoaderFactory.php @@ -28,7 +28,7 @@ namespace BeluginoCover\Cover; use Interop\Container\ContainerInterface; -use Zend\ServiceManager\Factory\FactoryInterface; +use Laminas\ServiceManager\Factory\FactoryInterface; /** * Cover loader factory.