| Conditions | 2 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function getTests() |
||
| 11 | { |
||
| 12 | return [ |
||
| 13 | new \Twig_SimpleTest('ftp exception', function ($exception) { |
||
| 14 | if ($exception instanceof FlattenException) { |
||
| 15 | $exception = $exception->getClass(); |
||
| 16 | } |
||
| 17 | |||
| 18 | return is_a($exception, InvalidPathException::CLASSNAME, true); |
||
| 19 | }), |
||
| 20 | ]; |
||
| 21 | } |
||
| 22 | |||
| 28 |