| Total Lines | 12 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | interface InspectorInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * valid checks to see if the provided path is the project root for |
||
| 12 | * an application that is the specific type of application handled |
||
| 13 | * by the class that implements InspectorInterface. |
||
| 14 | * |
||
| 15 | * @param string $path |
||
|
|
|||
| 16 | * @return InfoInterface|false |
||
| 17 | */ |
||
| 18 | public function valid(ComposerInfo $composer_info); |
||
| 19 | } |
||
| 20 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.