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

tempestphp / tempest-framework / 14024978163

23 Mar 2025 05:55PM UTC coverage: 79.391% (-0.05%) from 79.441%
14024978163

push

github

web-flow
feat(view): cache Blade and Twig templates in internal storage (#1061)

2 of 2 new or added lines in 2 files covered. (100.0%)

912 existing lines in 110 files now uncovered.

10478 of 13198 relevant lines covered (79.39%)

91.09 hits per line

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

7.69
/src/Tempest/Debug/src/functions.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace {
6
    use Tempest\Debug\Debug;
7

UNCOV
8
    if (! function_exists('lw')) {
×
9
        /**
10
         * Writes the given `$input` to the logs, and dumps it.
11
         * @see \Tempest\Debug\Debug::log()
12
         */
13
        function lw(mixed ...$input): void
14
        {
UNCOV
15
            Debug::resolve()->log($input);
×
16
        }
17
    }
18

UNCOV
19
    if (! function_exists('ld')) {
×
20
        /**
21
         * Writes the given `$input` to the logs, dumps it, and stops the execution of the script.
22
         * @see \Tempest\Debug\Debug::log()
23
         */
24
        function ld(mixed ...$input): void
25
        {
UNCOV
26
            Debug::resolve()->log($input);
×
27
            die();
×
28
        }
29
    }
30

UNCOV
31
    if (! function_exists('ll')) {
×
32
        /**
33
         * Writes the given `$input` to the logs.
34
         * @see \Tempest\Debug\Debug::log()
35
         */
36
        function ll(mixed ...$input): void
37
        {
38
            Debug::resolve()->log($input, writeToOut: false);
4✔
39
        }
40
    }
41

UNCOV
42
    if (! function_exists('le')) {
×
43
        /**
44
         * Emits a `ItemsDebugged` event.
45
         * @see \Tempest\Debug\Debug::log()
46
         */
47
        function le(mixed ...$input): void
48
        {
UNCOV
49
            Debug::resolve()->log($input, writeToOut: false, writeToLog: false);
×
50
        }
51
    }
52

UNCOV
53
    if (! function_exists('dd')) {
×
54
        /**
55
         * Writes the given `$input` to the logs, dumps it, and stops the execution of the script.
56
         * @see ld()
57
         * @see \Tempest\Debug\Debug::log()
58
         */
59
        function dd(mixed ...$input): void
60
        {
UNCOV
61
            ld(...$input);
×
62
        }
63
    }
64

UNCOV
65
    if (! function_exists('dump')) {
×
66
        /**
67
         * Writes the given `$input` to the logs, and dumps it.
68
         * @see lw()
69
         * @see \Tempest\Debug\Debug::log()
70
         */
71
        function dump(mixed ...$input): void
72
        {
UNCOV
73
            lw(...$input);
×
74
        }
75
    }
76
}
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