| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class CwpSearchPage_Controller extends Page_Controller { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Create the dummy search record for this page |
||
| 28 | * |
||
| 29 | * @return CwpSearchPage |
||
| 30 | */ |
||
| 31 | protected function generateSearchRecord() { |
||
| 32 | $searchPage = CwpSearchPage::create(); |
||
| 33 | $searchPage->URLSegment = 'search'; |
||
| 34 | $searchPage->Title = _t('SearchForm.SearchResults', 'Search Results'); |
||
| 35 | $searchPage->ID = -1; |
||
| 36 | return $searchPage; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function __construct($dataRecord = null) { |
||
| 44 | } |
||
| 45 | |||
| 47 |
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