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

ericfortmeyer / activity-log / 20521974594

26 Dec 2025 11:53AM UTC coverage: 43.123% (-6.0%) from 49.13%
20521974594

push

github

web-flow
feat: add webhook for deployments (#63)

Signed-off-by: Eric Fortmeyer <e.fortmeyer01@gmail.com>

11 of 128 new or added lines in 13 files covered. (8.59%)

1 existing line in 1 file now uncovered.

348 of 807 relevant lines covered (43.12%)

1.33 hits per line

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

0.0
/src/Bootstrapper.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace EricFortmeyer\ActivityLog;
6

7
use Phpolar\Phpolar\App;
8
use Phpolar\Phpolar\ExceptionHandlerInterface;
9
use Psr\Container\ContainerInterface;
10
use Psr\Http\Message\ServerRequestInterface;
11
use Psr\Http\Server\MiddlewareInterface;
12

13
/**
14
 * Bootstraps the application
15
 */
16
final readonly class Bootstrapper
17
{
18
    public function __construct(
19
        private ContainerInterface $container,
20
        private ServerRequestInterface $serverRequest,
21
        private MiddlewareInterface $callbackMiddleware,
22
        private MiddlewareInterface $loginMiddleware,
23
        private MiddlewareInterface $logoutMiddleware,
24
        private MiddlewareInterface $eventHooksMiddleware,
25
        private ExceptionHandlerInterface $exceptionHandler,
26
    ) {
27
        ini_set("display_errors", true);
×
28
        ini_set("session.name", "activity-log-app");
×
29
        // ini_set("session.cache_limiter", "private_no_expire");
30
    }
31

32
    public function __invoke(): void
33
    {
34
        App::create($this->container)
×
35
            // ->useCsrfMiddleware()
×
36
            ->useAuthorization()
×
37
            ->useExceptionHandler($this->exceptionHandler)
×
NEW
38
            ->use($this->eventHooksMiddleware)
×
39
            ->use($this->callbackMiddleware)
×
40
            ->use($this->loginMiddleware)
×
41
            ->use($this->logoutMiddleware)
×
42
            ->receive($this->serverRequest);
×
43
    }
44
}
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