| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | interface PluginInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Fires before TaskManager registers shutdown functions for loaded tasks. |
||
| 17 | * Called by As3\PostProcessBundle\Task\TaskManager::execute() |
||
| 18 | * |
||
| 19 | * @param PostResponseEvent $event The Symfony post response event |
||
| 20 | */ |
||
| 21 | public function execute(PostResponseEvent $event); |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Handles modification (filtering) of the response as needed. |
||
| 25 | * Called by As3\PostProcessBundle\Task\TaskManager::filterResponse() before returning the response. |
||
| 26 | * |
||
| 27 | * @param Response $event The Symfony Response |
||
|
|
|||
| 28 | */ |
||
| 29 | public function filterResponse(Response $response); |
||
| 30 | } |
||
| 31 |
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.