Passed
Push — master ( c97482...68f9e3 )
by Andrey
07:00 queued 04:30
created

SourceLocaleDirectoryDoesntExist   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
c 0
b 0
f 0
dl 0
loc 5
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace Helldar\LaravelLangPublisher\Exceptions;
4
5
use RuntimeException;
6
7
final class SourceLocaleDirectoryDoesntExist extends RuntimeException
8
{
9 12
    public function __construct(string $locale)
10
    {
11 12
        parent::__construct("The source directory for \"{$locale}\" localization was not found.");
12 12
    }
13
}
14