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

tempestphp / tempest-framework / 14184527880

01 Apr 2025 12:49AM UTC coverage: 80.967% (+0.003%) from 80.964%
14184527880

Pull #1105

github

web-flow
Merge 3e7a55685 into 80e661e93
Pull Request #1105: feat(core): introduce tagged configurations

44 of 51 new or added lines in 9 files covered. (86.27%)

1 existing line in 1 file now uncovered.

11073 of 13676 relevant lines covered (80.97%)

101.29 hits per line

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

0.0
/src/Tempest/Vite/src/ViteConfigCommand.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Tempest\Vite;
6

7
use Tempest\Console\Console;
8
use Tempest\Console\ConsoleCommand;
9
use Tempest\Container\Container;
10

11
final readonly class ViteConfigCommand
12
{
13
    public function __construct(
×
14
        private Console $console,
15
        private Container $container,
16
    ) {}
×
17

18
    #[ConsoleCommand(name: 'vite:config', hidden: true)]
×
19
    public function __invoke(?string $tag = null): void
20
    {
NEW
21
        $config = $this->container->get(ViteConfig::class, $tag);
×
22

23
        $this->console->writeRaw(json_encode([
×
NEW
24
            'build_directory' => $config->buildDirectory,
×
NEW
25
            'bridge_file_name' => $config->bridgeFileName,
×
NEW
26
            'manifest' => $config->manifest,
×
NEW
27
            'entrypoints' => $config->entrypoints,
×
UNCOV
28
        ]));
×
29
    }
30
}
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