| Total Complexity | 5 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | trait ModuleView |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | protected function generateBasePath() |
||
| 21 | { |
||
| 22 | $folderPath = $this->generateFolderBasePath(); |
||
| 23 | if (is_dir($folderPath)) { |
||
| 24 | return $folderPath; |
||
| 25 | } |
||
| 26 | |||
| 27 | return $this->generateModuleBasePath(); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function generateModuleBasePath() |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function generateFolderBasePath() |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | public function getModuleName() |
||
| 60 |
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