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

codeigniter4 / CodeIgniter4 / 8677009716

13 Apr 2024 11:45PM UTC coverage: 84.44% (-2.2%) from 86.607%
8677009716

push

github

web-flow
Merge pull request #8776 from kenjis/fix-findQualifiedNameFromPath-Cannot-declare-class-v3

fix: Cannot declare class CodeIgniter\Config\Services, because the name is already in use

0 of 3 new or added lines in 1 file covered. (0.0%)

478 existing lines in 72 files now uncovered.

20318 of 24062 relevant lines covered (84.44%)

188.23 hits per line

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

0.0
/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
    public static function forMissingDatabaseTable()
21
    {
22
        return new static(lang('Session.missingDatabaseTable'));
×
23
    }
24

25
    public static function forInvalidSavePath(?string $path = null)
26
    {
27
        return new static(lang('Session.invalidSavePath', [$path]));
×
28
    }
29

30
    public static function forWriteProtectedSavePath(?string $path = null)
31
    {
32
        return new static(lang('Session.writeProtectedSavePath', [$path]));
×
33
    }
34

35
    public static function forEmptySavepath()
36
    {
37
        return new static(lang('Session.emptySavePath'));
×
38
    }
39

40
    public static function forInvalidSavePathFormat(string $path)
41
    {
42
        return new static(lang('Session.invalidSavePathFormat', [$path]));
×
43
    }
44

45
    /**
46
     * @deprecated
47
     *
48
     * @codeCoverageIgnore
49
     */
50
    public static function forInvalidSameSiteSetting(string $samesite)
51
    {
UNCOV
52
        return new static(lang('Session.invalidSameSiteSetting', [$samesite]));
×
53
    }
54
}
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