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

LM-Commons / LmcUser / 19677004780

25 Nov 2025 04:38PM UTC coverage: 90.508%. Remained the same
19677004780

Pull #134

github

web-flow
Merge a46f0d598 into 66ca6fc0a
Pull Request #134: 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/Options/ModuleOptions.php
1
<?php
2

3
namespace LmcUser\Factory\Options;
4

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

10
class ModuleOptions implements FactoryInterface
11
{
NEW
12
    public function __invoke(ContainerInterface $serviceLocator, $requestedName, ?array $options = null)
×
13
    {
14
        $config = $serviceLocator->get('Config');
×
15

16
        return new Options\ModuleOptions(isset($config['lmcuser']) ? $config['lmcuser'] : array());
×
17
    }
18

19
    /**
20
     * Create service
21
     *
22
     * @param  ServiceLocatorInterface $serviceLocator
23
     * @return mixed
24
     */
25
    public function createService(ServiceLocatorInterface $serviceLocator)
×
26
    {
27
        return $this->__invoke($serviceLocator, null);
×
28
    }
29
}
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