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

valksor / php-dev-build / 19202038340

09 Nov 2025 02:25AM UTC coverage: 17.283% (-0.9%) from 18.191%
19202038340

push

github

k0d3r1s
update documentation

383 of 2216 relevant lines covered (17.28%)

0.92 hits per line

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

0.0
/Provider/IconsProvider.php
1
<?php declare(strict_types = 1);
2

3
/*
4
 * This file is part of the Valksor package.
5
 *
6
 * (c) Davis Zalitis (k0d3r1s)
7
 * (c) SIA Valksor <packages@valksor.com>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12

13
namespace ValksorDev\Build\Provider;
14

15
use Symfony\Component\Console\Command\Command;
16
use ValksorDev\Build\Util\ConsoleCommandBuilder;
17

18
/**
19
 * Provider for icon generation service.
20
 * Generates icon templates during initialization.
21
 */
22
final class IconsProvider implements ProviderInterface
23
{
24
    public function __construct(
25
        private readonly ConsoleCommandBuilder $commandBuilder,
26
    ) {
27
    }
×
28

29
    public function build(
30
        array $options,
31
    ): int {
32
        // Icons are only generated during init phase
33
        return Command::SUCCESS;
×
34
    }
35

36
    public function getDependencies(): array
37
    {
38
        return ['binaries']; // Ensure binaries are available first
×
39
    }
40

41
    public function getName(): string
42
    {
43
        return 'icons';
×
44
    }
45

46
    public function getServiceOrder(): int
47
    {
48
        return 15; // Run after binaries but before build tools
×
49
    }
50

51
    public function init(
52
        array $options,
53
    ): void {
54
        // Generate icon templates
55
        $process = $this->commandBuilder->build('valksor:icons');
×
56
        $process->run();
×
57
    }
58

59
    public function watch(
60
        array $options,
61
    ): int {
62
        // Icons are only generated during init phase
63
        return Command::SUCCESS;
×
64
    }
65
}
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