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

codeigniter4 / CodeIgniter4 / 30759273559

02 Aug 2026 05:37PM UTC coverage: 90.044% (-0.2%) from 90.2%
30759273559

Pull #10436

github

web-flow
Merge fed5b6064 into 1c093bd73
Pull Request #10436: feat: add Redis Sentinel support to cache and session Redis handlers

42 of 95 new or added lines in 6 files covered. (44.21%)

25641 of 28476 relevant lines covered (90.04%)

232.3 hits per line

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

16.67
/system/Session/Exceptions/SessionException.php
1
<?php
2

3
declare(strict_types=1);
4

5
/**
6
 * This file is part of CodeIgniter 4 framework.
7
 *
8
 * (c) CodeIgniter Foundation <admin@codeigniter.com>
9
 *
10
 * For the full copyright and license information, please view
11
 * the LICENSE file that was distributed with this source code.
12
 */
13

14
namespace CodeIgniter\Session\Exceptions;
15

16
use CodeIgniter\Exceptions\FrameworkException;
17

18
class SessionException extends FrameworkException
19
{
20
    /**
21
     * @return static
22
     */
23
    public static function forMissingDatabaseTable()
24
    {
25
        return new static(lang('Session.missingDatabaseTable'));
×
26
    }
27

28
    /**
29
     * @return static
30
     */
31
    public static function forInvalidSavePath(?string $path = null)
32
    {
33
        return new static(lang('Session.invalidSavePath', [$path]));
×
34
    }
35

36
    /**
37
     * @return static
38
     */
39
    public static function forWriteProtectedSavePath(?string $path = null)
40
    {
41
        return new static(lang('Session.writeProtectedSavePath', [$path]));
×
42
    }
43

44
    /**
45
     * @return static
46
     */
47
    public static function forEmptySavepath()
48
    {
49
        return new static(lang('Session.emptySavePath'));
1✔
50
    }
51

52
    /**
53
     * @return static
54
     */
55
    public static function forInvalidSavePathFormat(string $path)
56
    {
57
        return new static(lang('Session.invalidSavePathFormat', [$path]));
×
58
    }
59

60
    /**
61
     * @return static
62
     */
63
    public static function forSentinelDiscoveryFailed(string $service)
64
    {
NEW
65
        return new static(lang('Session.sentinelDiscoveryFailed', [$service]));
×
66
    }
67
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc