1 | <?php |
||
11 | class ComposerReviewTest extends ReviewTestCase { |
||
12 | |||
13 | /** |
||
14 | * @return array |
||
15 | */ |
||
16 | public function getComposerFileDataProvider() { |
||
34 | |||
35 | |||
36 | /** |
||
37 | * @dataProvider getComposerFileDataProvider |
||
38 | * |
||
39 | * @param int $tagType |
||
|
|||
40 | * @param string $input |
||
41 | * @param array $expectErrorLines |
||
42 | * @param bool $process |
||
43 | */ |
||
44 | public function testComposerFile($input, array $expectErrorLines) { |
||
51 | |||
52 | } |
||
53 |
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
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.