Conditions | 3 |
Paths | 3 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function handle(): void |
||
10 | { |
||
11 | if (preg_match_all($this->pattern, self::$content, $matches, PREG_SET_ORDER)) { |
||
12 | for ($i = 0; $i < count($matches); $i++) { |
||
13 | $match = $matches[$i]; |
||
14 | $replace = file_get_contents(self::$config['template_dir'] . "/{$match[1]}.html"); |
||
15 | self::$content = str_replace($matches[$i][0], $replace, self::$content); |
||
16 | }; |
||
20 |
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