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

3
namespace LmcUser\Factory\Service;
4

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

10
class UserFactory implements FactoryInterface
11
{
NEW
12
    public function __invoke(ContainerInterface $serviceLocator, $requestedName, ?array $options = null)
×
13
    {
14
        $service = new User();
×
15
        $service->setServiceManager($serviceLocator);
×
16

17
        return $service;
×
18
    }
19

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