Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
InvalidFileNameException | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace pvc\storage\filesys\err; |
6 | |
7 | use pvc\err\stock\LogicException; |
8 | use Throwable; |
9 | |
10 | /** |
11 | * InvalidFileNameException should be thrown when someone tries to specify illegal characters in a filename. |
12 | */ |
13 | class InvalidFileNameException extends LogicException |
14 | { |
15 | public function __construct(string $badFileName, ?Throwable $previous = null) |
16 | { |
17 | parent::__construct($badFileName, $previous); |
18 | } |
19 | } |