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