Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | trait Replacement |
||
22 | { |
||
23 | |||
24 | /** |
||
25 | * @param $syntax |
||
26 | * @param int|bool $withReplacement |
||
27 | * @return mixed|string |
||
28 | */ |
||
29 | private function getSyntaxReplace( $syntax, $withReplacement = QueryStatementInterface::REPLACEMENT_NONE ) |
||
30 | { |
||
31 | $syntax = QueryHelper::clearMultipleSpaces( $syntax ); |
||
32 | |||
33 | if ( !$withReplacement ) |
||
34 | return $syntax; |
||
35 | |||
36 | return $this->replaceValues( $syntax ); |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @param string $syntax |
||
41 | * @return string |
||
42 | */ |
||
43 | private function replaceValues( $syntax ) |
||
55 | |||
56 | } |
||
58 | } |
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