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

ericfortmeyer / activity-log / 19770959394

28 Nov 2025 06:00PM UTC coverage: 52.31% (-1.3%) from 53.631%
19770959394

push

github

web-flow
Merge pull request #36 from ericfortmeyer/add-sqlite-storage

feat: use sqlite-storage library

4 of 23 new or added lines in 4 files covered. (17.39%)

385 of 736 relevant lines covered (52.31%)

2.13 hits per line

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

0.0
/src/Services/AppConfigService.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace EricFortmeyer\ActivityLog\Services;
6

7
use EricFortmeyer\ActivityLog\AppConfig;
8
use Phpolar\SqliteStorage\SqliteStorage;
9

10
class AppConfigService
11
{
12
    public function __construct(
13
        private readonly SqliteStorage $sqliteStorage,
NEW
14
    ) {}
×
15

16
    public function get(): AppConfig|false
17
    {
18
        /**
19
         * @var array<int,array<string,string>>
20
         */
NEW
21
        $configValues = $this->sqliteStorage->findAll();
×
22

NEW
23
        return count($configValues) > 0 ? new AppConfig($configValues[0]) : false;
×
24
    }
25
}
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