| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function loadConfig() |
||
| 27 | { |
||
| 28 | $this->feed->set_cache_location(config('feed.cache.location')); |
||
| 29 | $this->feed->set_cache_duration(config('cache.life')); |
||
| 30 | $this->feed->enable_cache(config('cache.enabled')); |
||
| 31 | $this->feed->set_item_limit(config('item_limit')); |
||
| 32 | $this->feed->strip_htmltags(config('strip_htmltags.tags')); |
||
| 33 | $this->feed->strip_attributes(config('strip_attributes.tags')); |
||
| 34 | $this->feed->force_feed(config('force_feed.enabled')); |
||
| 35 | $this->feed->enable_order_by_date(config('order_by_date.enabled')); |
||
| 36 | $this->feed->strip_comments(config('strip_html_comments.enabled')); |
||
| 37 | |||
| 38 | return $this->feed; |
||
| 39 | } |
||
| 40 | |||
| 67 |
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.