| Conditions | 2 |
| Paths | 2 |
| Total Lines | 24 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 57 | public function __toString(): string |
||
| 58 | { |
||
| 59 | $query = Statement::INSERT |
||
| 60 | . ' ' . Statement::INTO |
||
| 61 | . " $this->from" |
||
| 62 | . $this->getAliasQuery(); |
||
| 63 | |||
| 64 | $columns = []; |
||
| 65 | $values = []; |
||
| 66 | |||
| 67 | foreach ($this->values as $value) { |
||
| 68 | $columns[] = $value->name; |
||
| 69 | $values[] = (string) $value; |
||
| 70 | } |
||
| 71 | |||
| 72 | $columns = implode(', ', $columns); |
||
| 73 | $values = implode(', ', $values); |
||
| 74 | |||
| 75 | return $query |
||
| 76 | . " ($columns)" |
||
| 77 | . ' ' . Statement::VALUES |
||
| 78 | . " ($values)" |
||
| 79 | . $this->getWhereQuery() |
||
| 80 | . $this->getJoinQuery(); |
||
| 81 | } |
||
| 83 |
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