Conditions | 4 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
51 | private static function CheckParam(array $array){ |
||
52 | if(isset($array['username']) && isset($array['dbname']) && isset($array['password'])){ |
||
53 | $this->host = $array['host'] ?? 'localhost'; |
||
54 | $this->username = $array['username']; |
||
55 | $this->dbname = $array['dbname']; |
||
56 | $this->password = $array['password']; |
||
57 | $this->charset = $array['charset'] ?? 'utf8mb4'; |
||
58 | return true; |
||
59 | } else { |
||
60 | return false; |
||
61 | } |
||
63 | } |
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