Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
34 | 34 | public function onPluginsLoaded($data) |
|
|
|||
35 | { |
||
36 | 34 | $phile = Container::getInstance()->get('Phile_Config'); |
|
37 | 34 | $settings = $this->settings + [ |
|
38 | 34 | 'theme' => $phile->get('theme'), |
|
39 | 34 | 'themes_dir' => $phile->get('themes_dir') |
|
40 | ]; |
||
41 | 34 | ServiceLocator::registerService('Phile_Template', new Twig($settings)); |
|
42 | } |
||
44 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.