| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | final class Installer |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @psalm-suppress UndefinedClass |
||
| 16 | */ |
||
| 17 | public static function postUpdate(Event $event = null): void |
||
| 21 | } |
||
| 22 | |||
| 23 | private static function chmodRecursive(string $path, int $mode): void |
||
| 24 | { |
||
| 25 | chmod($path, $mode); |
||
| 26 | $iterator = new RIterator( |
||
| 27 | new DirIterator($path, FSIterator::SKIP_DOTS | FSIterator::CURRENT_AS_PATHNAME), |
||
| 28 | RIterator::SELF_FIRST |
||
| 29 | ); |
||
| 30 | foreach ($iterator as $item) { |
||
| 31 | chmod($item, $mode); |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 35 | public static function copyEnvFile(): void |
||
| 39 | } |
||
| 40 | } |
||
| 42 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.