| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | function its_resolveResource_delegates_to_options_resolver($request, $exprBased, $optionsBased) |
||
| 28 | { |
||
| 29 | $optionsBased->resolveResource($request, array('service' => '', 'method', 'arguments' => array()))->shouldBeCalled(); |
||
| 30 | $exprBased->resolveResource($request, Argument::any())->shouldNotBeCalled(); |
||
| 31 | $this->resolveResource($request, array('service' => '', 'method', 'arguments' => array())); |
||
| 32 | } |
||
| 33 | } |
||
| 34 |
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.