• 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/RedirectCallbackFactory.php
1
<?php
2

3
namespace LmcUser\Factory\Controller;
4

5
use Psr\Container\ContainerInterface;
6
use Laminas\Mvc\Application;
7
use Laminas\Router\RouteInterface;
8
use Laminas\ServiceManager\Factory\FactoryInterface;
9
use Laminas\ServiceManager\ServiceLocatorInterface;
10
use LmcUser\Controller\RedirectCallback;
11
use LmcUser\Options\ModuleOptions;
12

13
class RedirectCallbackFactory implements FactoryInterface
14
{
NEW
15
    public function __invoke(ContainerInterface $serviceLocator, $requestedName, ?array $options = null)
×
16
    {
17
        /* @var RouteInterface $router */
18
        $router = $serviceLocator->get('Router');
×
19

20
        /* @var Application $application */
21
        $application = $serviceLocator->get('Application');
×
22

23
        /* @var ModuleOptions $options */
24
        $options = $serviceLocator->get('lmcuser_module_options');
×
25

26
        return new RedirectCallback($application, $router, $options);
×
27
    }
28

29
    /**
30
     * Create service
31
     *
32
     * @param  ServiceLocatorInterface $serviceLocator
33
     * @return mixed
34
     */
35
    public function createService(ServiceLocatorInterface $serviceLocator)
×
36
    {
37
        return $this->__invoke($serviceLocator, null);
×
38
    }
39
}
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