Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
6 / 6
100.00% covered (success)
100.00%
2 / 2
CRAP
100.00% covered (success)
100.00%
1 / 1
_ConfigXData
100.00% covered (success)
100.00%
6 / 6
100.00% covered (success)
100.00%
2 / 2
2
100.00% covered (success)
100.00%
1 / 1
 getLocalXCodes
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
1 / 1
1
 getXMessageTemplates
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3/**
4 * @author: Doug Wilbourne (dougwilbourne@gmail.com)
5 * @noinspection PhpCSValidationInspection
6 */
7
8declare(strict_types=1);
9
10namespace pvc\config\err;
11
12use pvc\err\XDataAbstract;
13
14/**
15 * Class _MsgXData
16 * @noinspection PhpCSValidationInspection
17 */
18class _ConfigXData extends XDataAbstract
19{
20    public function getLocalXCodes(): array
21    {
22        return [
23            InvalidProjectRootException::class => 1001,
24        ];
25    }
26
27    public function getXMessageTemplates(): array
28    {
29        return [
30            InvalidProjectRootException::class => 'Invalid project root ${badDir}. Must be a (readable) directory',
31        ];
32    }
33}