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

Entropyphp / EntropyPHP / 16878152374

11 Aug 2025 11:02AM UTC coverage: 96.032% (+0.8%) from 95.258%
16878152374

push

github

willy68
First commit

11 of 19 new or added lines in 1 file covered. (57.89%)

484 of 504 relevant lines covered (96.03%)

4.02 hits per line

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

57.89
/src/config.php
1
<?php
2

3
use Entropy\Event\EventDispatcher;
4
use Entropy\Invoker\CallableResolverFactory;
5
use Entropy\Invoker\InvokerFactory;
6
use Entropy\Invoker\ResolverChainFactory;
7
use Entropy\Kernel\KernelEvent;
8
use Entropy\Kernel\KernelMiddleware;
9
use Invoker\CallableResolver;
10
use Invoker\Invoker;
11
use Invoker\ParameterResolver\ParameterResolver;
12
use Psr\Container\ContainerInterface;
13
use Psr\EventDispatcher\EventDispatcherInterface;
14

15
use function DI\factory;
16

17
return [
1✔
18
    Invoker::class => factory(InvokerFactory::class),
1✔
19
    ParameterResolver::class => factory(ResolverChainFactory::class),
1✔
20
    CallableResolver::class => factory(CallableResolverFactory::class),
1✔
21
    EventDispatcherInterface::class => function (ContainerInterface $c): EventDispatcherInterface {
1✔
NEW
22
        return new EventDispatcher($c->get(CallableResolver::class));
×
23
    },
1✔
24
    KernelEvent::class => function (ContainerInterface $c): KernelEvent {
1✔
NEW
25
        return new KernelEvent(
×
NEW
26
            $c->get(EventDispatcherInterface::class),
×
NEW
27
            $c->get(CallableResolver::class),
×
NEW
28
            $c->get(ParameterResolver::class),
×
NEW
29
            $c
×
NEW
30
        );
×
31
    },
1✔
32
    KernelMiddleware::class => function (ContainerInterface $c): KernelMiddleware {
1✔
NEW
33
        return new KernelMiddleware($c);
×
34
    }
1✔
35
];
1✔
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

© 2026 Coveralls, Inc