Skip to content

Commit

Permalink
Switched from Zend to Laminas
Browse files Browse the repository at this point in the history
  • Loading branch information
jschultze committed Mar 5, 2024
1 parent 33b4dbc commit 9a0d327
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
* @link https://github.com/dmj/vf2-proxy
*/
namespace ListAdmin;
use Zend\ModuleManager\ModuleManager,
Zend\Mvc\MvcEvent;
use Laminas\ModuleManager\ModuleManager,
Laminas\Mvc\MvcEvent;

/**
* Template for ZF2 module for storing local overrides.
Expand Down Expand Up @@ -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__,
),
Expand Down
2 changes: 1 addition & 1 deletion src/ListAdmin/Controller/ListAdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function migrateAction () {
return $this->redirect()->toRoute('myresearch-home');
}

$translator = $this->serviceLocator->get('Zend\Mvc\I18n\Translator');
$translator = $this->serviceLocator->get('Laminas\Mvc\I18n\Translator');
$view = $this->createViewModel();

$view->old_account = $this->params()->fromPost('old_account');
Expand Down
2 changes: 1 addition & 1 deletion src/ListAdmin/Controller/ListAdminControllerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
namespace ListAdmin\Controller;

use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;

/**
* Generic controller factory.
Expand Down
2 changes: 1 addition & 1 deletion src/ListAdmin/View/Helper/ListAdmin/ListAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
namespace ListAdmin\View\Helper\ListAdmin;

class ListAdmin extends \Zend\View\Helper\AbstractHelper
class ListAdmin extends \Laminas\View\Helper\AbstractHelper
{
protected $config;

Expand Down
2 changes: 1 addition & 1 deletion src/ListAdmin/View/Helper/ListAdmin/ListAdminFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
namespace ListAdmin\View\Helper\ListAdmin;

use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;

/**
* SearchBox helper factory.
Expand Down

0 comments on commit 9a0d327

Please sign in to comment.