| Conditions | 5 |
| Paths | 3 |
| Total Lines | 18 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | public function getCurrentOption($options, $type = "sort") |
||
| 40 | { |
||
| 41 | $query = $this->getQuery(); |
||
| 42 | $return = ""; |
||
| 43 | |||
| 44 | if (isset($query[$type])) { |
||
| 45 | $i = 0; |
||
| 46 | foreach ($options as $key => $value) { |
||
| 47 | if ($query[$type] == $i |
||
| 48 | && $key != ComplexCategoryController::DEFAULT_SORT) { |
||
| 49 | $return = $key; |
||
| 50 | break; |
||
| 51 | } |
||
| 52 | $i++; |
||
| 53 | } |
||
| 54 | } |
||
| 55 | |||
| 56 | return $return; |
||
| 57 | } |
||
| 82 | } |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths