• 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

0.0
/src/Tempest/Console/src/Initializers/LogOutputBufferInitializer.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Tempest\Console\Initializers;
6

7
use Tempest\Console\ConsoleConfig;
8
use Tempest\Console\Output\LogOutputBuffer;
9
use Tempest\Container\Container;
10
use Tempest\Container\Initializer;
11
use Tempest\Container\Singleton;
12
use Tempest\Core\Kernel;
13

14
use function Tempest\Support\path;
15

16
final readonly class LogOutputBufferInitializer implements Initializer
17
{
UNCOV
18
    #[Singleton]
×
19
    public function initialize(Container $container): LogOutputBuffer
20
    {
21
        $consoleConfig = $container->get(ConsoleConfig::class);
×
UNCOV
22
        $kernel = $container->get(Kernel::class);
×
23

UNCOV
24
        $path = $consoleConfig->logPath ?? path($kernel->root, 'console.log')->toString();
×
25

UNCOV
26
        return new LogOutputBuffer($path);
×
27
    }
28
}
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