Commit e699144c authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

laminas-migration migrate

parent 4c578763
Pipeline #10459 passed with stage
in 21 seconds
......@@ -3,14 +3,14 @@
namespace ZfcUser\Factory;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\ServiceLocatorInterface;
class AuthenticationService implements FactoryInterface
{
public function __invoke(ContainerInterface $serviceLocator, $requestedName, array $options = null)
{
return new \Zend\Authentication\AuthenticationService(
return new \Laminas\Authentication\AuthenticationService(
$serviceLocator->get('ZfcUser\Authentication\Storage\Db'),
$serviceLocator->get('ZfcUser\Authentication\Adapter\AdapterChain')
);
......
......@@ -3,8 +3,8 @@
namespace ZfcUser\Factory\Controller\Plugin;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Controller;
class ZfcUserAuthentication implements FactoryInterface
......
......@@ -3,10 +3,10 @@
namespace ZfcUser\Factory\Controller;
use Interop\Container\ContainerInterface;
use Zend\Mvc\Application;
use Zend\Router\RouteInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Laminas\Mvc\Application;
use Laminas\Router\RouteInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Controller\RedirectCallback;
use ZfcUser\Options\ModuleOptions;
......
......@@ -3,9 +3,9 @@
namespace ZfcUser\Factory\Controller;
use Interop\Container\ContainerInterface;
use Zend\Mvc\Controller\ControllerManager;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Laminas\Mvc\Controller\ControllerManager;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Controller\RedirectCallback;
use ZfcUser\Controller\UserController;
......
......@@ -3,7 +3,7 @@
namespace ZfcUser\Factory\Form;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use ZfcUser\Form;
use ZfcUser\Validator;
......
......@@ -3,7 +3,7 @@
namespace ZfcUser\Factory\Form;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use ZfcUser\Form;
class ChangePassword implements FactoryInterface
......
......@@ -3,7 +3,7 @@
namespace ZfcUser\Factory\Form;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use ZfcUser\Form;
class Login implements FactoryInterface
......
......@@ -3,7 +3,7 @@
namespace ZfcUser\Factory\Form;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use ZfcUser\Form;
use ZfcUser\Validator;
......
......@@ -3,8 +3,8 @@
namespace ZfcUser\Factory\Mapper;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Mapper;
use ZfcUser\Options\ModuleOptions;
......
......@@ -3,8 +3,8 @@
namespace ZfcUser\Factory\Options;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Options;
class ModuleOptions implements FactoryInterface
......
......@@ -3,8 +3,8 @@
namespace ZfcUser\Factory\Service;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Service\User;
class UserFactory implements FactoryInterface
......
......@@ -3,14 +3,14 @@
namespace ZfcUser\Factory;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\ServiceLocatorInterface;
class UserHydrator implements FactoryInterface
{
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
{
return new \Zend\Hydrator\ClassMethods();
return new \Laminas\Hydrator\ClassMethods();
}
......
......@@ -3,7 +3,7 @@
namespace ZfcUser\Factory\View\Helper;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use ZfcUser\View;
class ZfcUserDisplayName implements FactoryInterface
......
......@@ -3,7 +3,7 @@
namespace ZfcUser\Factory\View\Helper;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use ZfcUser\View;
class ZfcUserIdentity implements FactoryInterface
......
......@@ -3,7 +3,7 @@
namespace ZfcUser\Factory\View\Helper;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use ZfcUser\View;
class ZfcUserLoginWidget implements FactoryInterface
......
......@@ -2,7 +2,7 @@
namespace ZfcUser\Form;
use Zend\Form\Element;
use Laminas\Form\Element;
class Base extends ProvidesEventsForm
{
......@@ -75,7 +75,7 @@ class Base extends ProvidesEventsForm
$this->add(array(
'name' => 'userId',
'type' => 'Zend\Form\Element\Hidden',
'type' => 'Laminas\Form\Element\Hidden',
'attributes' => array(
'type' => 'hidden'
),
......
......@@ -2,7 +2,7 @@
namespace ZfcUser\Form;
use Zend\InputFilter\InputFilter;
use Laminas\InputFilter\InputFilter;
use ZfcUser\Options\AuthenticationOptionsInterface;
class ChangeEmailFilter extends InputFilter
......
......@@ -2,7 +2,7 @@
namespace ZfcUser\Form;
use Zend\InputFilter\InputFilter;
use Laminas\InputFilter\InputFilter;
use ZfcUser\Options\AuthenticationOptionsInterface;
class ChangePasswordFilter extends InputFilter
......
......@@ -2,7 +2,7 @@
namespace ZfcUser\Form;
use Zend\Form\Element;
use Laminas\Form\Element;
use ZfcUser\Options\AuthenticationOptionsInterface;
class Login extends ProvidesEventsForm
......
<?php
namespace ZfcUser\Form;
use Zend\EventManager\EventManagerAwareTrait;
use Zend\Form\Form;
use Laminas\EventManager\EventManagerAwareTrait;
use Laminas\Form\Form;
class ProvidesEventsForm extends Form
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment