Commit 3c3388da authored by Thomas Hamel's avatar Thomas Hamel
Browse files

Compatibilité PHP 8.4

parents 9b4d009b a4d594d8
Loading
Loading
Loading
Loading
Loading
+2 −1
Changes for .gitlab-ci.yml: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -6,4 +6,5 @@ update-satis:
  image: python:3.9
  script:
    - apt-get update && apt-get -y upgrade && apt-get -y install curl
    - curl https://gest.unicaen.fr/packagist/update
 No newline at end of file
    - export no_proxy=localhost,unicaen.fr
    - curl https://packagist.unicaen.fr/build?name=unicaen/bjy-authorize
+1 −1
Changes for composer.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
    "repositories": [
        {
            "type": "composer",
            "url": "https://gest.unicaen.fr/packagist"
            "url": "https://packagist.unicaen.fr"
        }
    ],
    "require": {
+1 −1
Changes for src/BjyAuthorize/Service/AuthenticationIdentityProviderServiceFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ class AuthenticationIdentityProviderServiceFactory implements FactoryInterface
        return $this->__invoke($serviceLocator, '?');
    }

    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
    {
        $user                   = $container->get('zfcuser_user_service');
        $simpleIdentityProvider = new AuthenticationIdentityProvider($user->getAuthService());
+1 −1
Changes for src/BjyAuthorize/Service/AuthorizeFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ class AuthorizeFactory implements FactoryInterface
        return $this->__invoke($serviceLocator, '?');
    }

    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
    {
        return new Authorize($container->get('BjyAuthorize\Config'), $container);
    }
+1 −1
Changes for src/BjyAuthorize/Service/CacheFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ class CacheFactory implements FactoryInterface
        return $this->__invoke($serviceLocator, '?');
    }

    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null)
    {
        $options = $container->get('BjyAuthorize\Config');

Loading