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

68publishers / tracy-git-version / 5982437370

26 Aug 2023 03:00AM UTC coverage: 90.041% (-2.2%) from 92.276%
5982437370

Pull #4

github

web-flow
Merge 60e13f581 into fa82db0dd
Pull Request #4: Feature/git executable

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

434 of 482 relevant lines covered (90.04%)

0.9 hits per line

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

57.14
/src/Exception/ExportConfigException.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace SixtyEightPublishers\TracyGitVersion\Exception;
6

7
use Exception;
8
use SixtyEightPublishers\TracyGitVersion\Export\Config;
9
use function sprintf;
10

11
final class ExportConfigException extends Exception implements ExceptionInterface
12
{
13
    public static function missingOption(string $name): self
14
    {
15
        return new self(sprintf(
1✔
16
            'Missing the option %s in export config.',
17
            $name,
1✔
18
        ));
19
    }
20

21
    public static function configFileNotFound(string $filename): self
22
    {
23
        return new self(sprintf(
1✔
24
            'Config file %s not found.',
25
            $filename,
1✔
26
        ));
27
    }
28

29
    public static function configCantBeLoadedFromFile(string $filename): self
30
    {
31
        return new self(sprintf(
×
32
            'Config from the file %s can\'t be loaded. The file must return instance of %s.',
33
            $filename,
×
34
            Config::class,
×
35
        ));
36
    }
37
}
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