| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function index(HTTPRequest $HTTPRequest) |
||
| 25 | { |
||
| 26 | $termString = $HTTPRequest->param('ID'); |
||
| 27 | |||
| 28 | $pages = Page::get() |
||
| 29 | ->innerJoin( |
||
| 30 | 'BasePage_Terms', |
||
| 31 | '"Page"."ID"="BasePage_Terms"."BasePageID"') |
||
| 32 | ->innerJoin( |
||
| 33 | 'TaxonomyTerm', |
||
| 34 | "\"BasePage_Terms\".\"TaxonomyTermID\"=\"TaxonomyTerm\".\"ID\" AND \"TaxonomyTerm\".\"Name\" = '$termString'"); |
||
| 35 | |||
| 36 | return $this->customise(new ArrayData(array( |
||
| 37 | 'Title' => $termString, |
||
| 38 | 'Term' => $termString, |
||
| 39 | 'Pages' => $pages, |
||
| 40 | 'Breadcrumbs' => $this->renderBreadcrumb($termString) |
||
| 41 | )))->renderWith(array("TaxonomyDirectory", "Page")); |
||
| 42 | } |
||
| 57 |
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