| Total Complexity | 5 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Coverage | 92.86% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ClassParser extends AbstractParser |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * {@inheritDoc} |
||
| 16 | * |
||
| 17 | * Use the annotation reader to obtain all Annotations\Info objects |
||
| 18 | * Create AddNS instancies and add there to ParserManager |
||
| 19 | * Instanciate all others annotations dedicated object |
||
| 20 | */ |
||
| 21 | public function run() |
||
| 22 | { |
||
| 23 | 1 | $this->execAnnotReader(); |
|
| 24 | 1 | $this->execAddNS(); |
|
| 25 | 1 | $this->generateAllAnnotObject($this->obtainItemName()); |
|
| 26 | 1 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * Return the item name sent to AbstractAnnotation |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | protected function obtainItemName(): string |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Create AddNS's instancies and add the object to parserManager |
||
| 40 | * |
||
| 41 | * @return void |
||
| 42 | */ |
||
| 43 | protected function execAddNS() |
||
| 63 |
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.