• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LM-Commons / LmcUser / 19677023224

25 Nov 2025 04:39PM UTC coverage: 90.508%. Remained the same
19677023224

push

github

web-flow
Merge pull request #134 from visto9259/3.9.x

Fixed php 8.4 deprecations warnings for implicit assignments of null in function calls

13 of 24 new or added lines in 19 files covered. (54.17%)

1602 of 1770 relevant lines covered (90.51%)

3.64 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Factory/Controller/Plugin/LmcUserAuthentication.php
1
<?php
2

3
namespace LmcUser\Factory\Controller\Plugin;
4

5
use Psr\Container\ContainerInterface;
6
use Laminas\ServiceManager\Factory\FactoryInterface;
7
use Laminas\ServiceManager\ServiceLocatorInterface;
8
use LmcUser\Controller;
9

10
class LmcUserAuthentication implements FactoryInterface
11
{
NEW
12
    public function __invoke(ContainerInterface $serviceLocator, $requestedName, ?array $options = null)
×
13
    {
14
        $authService = $serviceLocator->get('lmcuser_auth_service');
×
15
        $authAdapter = $serviceLocator->get('LmcUser\Authentication\Adapter\AdapterChain');
×
16

17
        $controllerPlugin = new Controller\Plugin\LmcUserAuthentication;
×
18
        $controllerPlugin->setAuthService($authService);
×
19
        $controllerPlugin->setAuthAdapter($authAdapter);
×
20

21
        return $controllerPlugin;
×
22
    }
23

24
    /**
25
     * Create service
26
     *
27
     * @param  ServiceLocatorInterface $serviceManager
28
     * @return mixed
29
     */
30
    public function createService(ServiceLocatorInterface $serviceManager)
×
31
    {
32
        $serviceLocator = $serviceManager->getServiceLocator();
×
33

34
        return $this->__invoke($serviceLocator, null);
×
35
    }
36
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc