Conditions | 3 |
Paths | 3 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 5.667 |
Changes | 0 |
1 | <?php |
||
40 | 139 | public function getExtensionConfiguration() |
|
41 | { |
||
42 | try { |
||
43 | 139 | return GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('crawler'); |
|
44 | } catch (ExtensionConfigurationExtensionNotConfiguredException $e) { |
||
45 | $this->logger->error($e->getMessage()); |
||
|
|||
46 | } catch (ExtensionConfigurationPathDoesNotExistException $e) { |
||
47 | $this->logger->error($e->getMessage()); |
||
48 | } |
||
51 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.