Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | public static function fromInvalidMoveOperation(string $fromPath, string $toPath) : self |
||
20 | 1 | { |
|
21 | 1 | return new self(sprintf( |
|
22 | 1 | 'Could not move file "%s" to location "%s": ' |
|
23 | . 'either the source file is not readable, or the destination is not writable', |
||
24 | $fromPath, |
||
25 | $toPath |
||
26 | 1 | )); |
|
27 | } |
||
28 | 1 | ||
46 |