Commit 806db90d authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Migration vers laminas

parent d507f84b
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -2,10 +2,10 @@

namespace UnicaenAuth;

use Zend\EventManager\EventInterface;
use Zend\ModuleManager\Feature\AutoloaderProviderInterface;
use Zend\ModuleManager\Feature\ConfigProviderInterface;
use Zend\ModuleManager\Feature\ServiceProviderInterface;
use Laminas\EventManager\EventInterface;
use Laminas\ModuleManager\Feature\AutoloaderProviderInterface;
use Laminas\ModuleManager\Feature\ConfigProviderInterface;
use Laminas\ModuleManager\Feature\ServiceProviderInterface;
use ZfcUser\Form\Login;
use ZfcUser\Form\LoginFilter;

@@ -32,7 +32,7 @@ class Module implements AutoloaderProviderInterface, ConfigProviderInterface, Se
    public function getAutoloaderConfig()
    {
        return [
            'Zend\Loader\StandardAutoloader' => [
            'Laminas\Loader\StandardAutoloader' => [
                'namespaces' => [
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
                ],
+26 −25
Original line number Diff line number Diff line
@@ -9,9 +9,10 @@
    ],
    "require": {
        "unicaen/app": "dev-release_4.0.0",
    "unicaen/bjy-authorize": "^3.0",
        "unicaen/bjy-authorize": "dev-release_4.0.0",
        "jasig/phpcas": "^1.3",
    "ramsey/uuid": "^3.7"
        "ramsey/uuid": "^3.7",
        "laminas/laminas-dependency-plugin": "^2.1"
    },
    "require-dev": {
        "phpunit/phpunit": "^5.6"

composer.lock

deleted100644 → 0
+0 −6277

File deleted.

Preview size limit exceeded, changes collapsed.

+4 −4
Original line number Diff line number Diff line
@@ -71,8 +71,8 @@ use UnicaenAuth\View\Helper\UserStatus;
use UnicaenAuth\View\Helper\UserStatusFactory;
use UnicaenAuth\View\Helper\UserUsurpationHelper;
use UnicaenAuth\View\Helper\UserUsurpationHelperFactory;
use Zend\Authentication\AuthenticationService;
use Zend\ServiceManager\Proxy\LazyServiceFactory;
use Laminas\Authentication\AuthenticationService;
use Laminas\ServiceManager\Proxy\LazyServiceFactory;

$settings = [
    /**
@@ -322,7 +322,7 @@ return [
        /* role providers simply provide a list of roles that should be inserted
         * into the Zend\Acl instance. the module comes with two providers, one
         * to specify roles in a config file and one to load roles using a
         * Zend\Db adapter.
         * Laminas\Db adapter.
         */
        'role_providers'    => [
            /**
@@ -645,7 +645,7 @@ return [
        'aliases'            => [
            'unicaen-auth_module_options' => ModuleOptions::class,
            'zfcuser_login_form' => LoginForm::class,
            'Zend\Authentication\AuthenticationService' => 'zfcuser_auth_service',
            'Laminas\Authentication\AuthenticationService' => 'zfcuser_auth_service',
            'UnicaenAuth\Privilege\PrivilegeProvider'   => 'UnicaenAuth\Service\Privilege',
            '\UnicaenAuth\Guard\PrivilegeController'    => 'UnicaenAuth\Guard\PrivilegeController',

+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ $config = [
        /* role providers simply provide a list of roles that should be inserted
         * into the Zend\Acl instance. the module comes with two providers, one
         * to specify roles in a config file and one to load roles using a
         * Zend\Db adapter.
         * Laminas\Db adapter.
         */
        'role_providers'    => [
            /**
Loading