| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | 2 | public function insertEx(string $table, array $columns): bool|array |
|
| 20 | { |
||
| 21 | 2 | $params = []; |
|
| 22 | 2 | $sql = $this->queryBuilder()->insertEx($table, $columns, $params); |
|
| 23 | |||
| 24 | 2 | $this->setSql($sql)->bindValues($params); |
|
| 25 | 2 | $this->prepare(false); |
|
| 26 | |||
| 27 | /** @psalm-var array|bool */ |
||
| 28 | 2 | $result = $this->queryOne(); |
|
| 29 | |||
| 30 | 2 | return is_array($result) ? $result : false; |
|
| 31 | } |
||
| 68 |
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