Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
zfc-user
Commits
e699144c
Commit
e699144c
authored
Jul 13, 2021
by
Bertrand Gauthier
Browse files
laminas-migration migrate
parent
4c578763
Pipeline
#10459
passed with stage
in 21 seconds
Changes
75
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/ZfcUser/Factory/AuthenticationService.php
View file @
e699144c
...
...
@@ -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'
)
);
...
...
src/ZfcUser/Factory/Controller/Plugin/ZfcUserAuthentication.php
View file @
e699144c
...
...
@@ -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
...
...
src/ZfcUser/Factory/Controller/RedirectCallbackFactory.php
View file @
e699144c
...
...
@@ -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
;
...
...
src/ZfcUser/Factory/Controller/UserControllerFactory.php
View file @
e699144c
...
...
@@ -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
;
...
...
src/ZfcUser/Factory/Form/ChangeEmail.php
View file @
e699144c
...
...
@@ -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
;
...
...
src/ZfcUser/Factory/Form/ChangePassword.php
View file @
e699144c
...
...
@@ -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
...
...
src/ZfcUser/Factory/Form/Login.php
View file @
e699144c
...
...
@@ -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
...
...
src/ZfcUser/Factory/Form/Register.php
View file @
e699144c
...
...
@@ -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
;
...
...
src/ZfcUser/Factory/Mapper/User.php
View file @
e699144c
...
...
@@ -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
;
...
...
src/ZfcUser/Factory/Options/ModuleOptions.php
View file @
e699144c
...
...
@@ -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
...
...
src/ZfcUser/Factory/Service/UserFactory.php
View file @
e699144c
...
...
@@ -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
...
...
src/ZfcUser/Factory/UserHydrator.php
View file @
e699144c
...
...
@@ -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
();
}
...
...
src/ZfcUser/Factory/View/Helper/ZfcUserDisplayName.php
View file @
e699144c
...
...
@@ -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
...
...
src/ZfcUser/Factory/View/Helper/ZfcUserIdentity.php
View file @
e699144c
...
...
@@ -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
...
...
src/ZfcUser/Factory/View/Helper/ZfcUserLoginWidget.php
View file @
e699144c
...
...
@@ -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
...
...
src/ZfcUser/Form/Base.php
View file @
e699144c
...
...
@@ -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'
),
...
...
src/ZfcUser/Form/ChangeEmailFilter.php
View file @
e699144c
...
...
@@ -2,7 +2,7 @@
namespace
ZfcUser\Form
;
use
Zend
\InputFilter\InputFilter
;
use
Laminas
\InputFilter\InputFilter
;
use
ZfcUser\Options\AuthenticationOptionsInterface
;
class
ChangeEmailFilter
extends
InputFilter
...
...
src/ZfcUser/Form/ChangePasswordFilter.php
View file @
e699144c
...
...
@@ -2,7 +2,7 @@
namespace
ZfcUser\Form
;
use
Zend
\InputFilter\InputFilter
;
use
Laminas
\InputFilter\InputFilter
;
use
ZfcUser\Options\AuthenticationOptionsInterface
;
class
ChangePasswordFilter
extends
InputFilter
...
...
src/ZfcUser/Form/Login.php
View file @
e699144c
...
...
@@ -2,7 +2,7 @@
namespace
ZfcUser\Form
;
use
Zend
\Form\Element
;
use
Laminas
\Form\Element
;
use
ZfcUser\Options\AuthenticationOptionsInterface
;
class
Login
extends
ProvidesEventsForm
...
...
src/ZfcUser/Form/ProvidesEventsForm.php
View file @
e699144c
<?php
namespace
ZfcUser\Form
;
use
Zend
\EventManager\EventManagerAwareTrait
;
use
Zend
\Form\Form
;
use
Laminas
\EventManager\EventManagerAwareTrait
;
use
Laminas
\Form\Form
;
class
ProvidesEventsForm
extends
Form
{
...
...
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment