| Conditions | 4 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public static function make(Builder $query, $column, $stepSize) |
||
| 20 | { |
||
| 21 | switch ($query->getConnection()->getDriverName()) { |
||
| 22 | case 'sqlite': |
||
| 23 | return new SqliteFrequencyDistributionExpression($query, $column, $stepSize); |
||
| 24 | case 'mysql': |
||
| 25 | return new MySqlFrequencyDistributionExpression($query, $column, $stepSize); |
||
| 26 | case 'pgsql': |
||
| 27 | return new PostgresFrequencyDistributionExpression($query, $column, $stepSize); |
||
| 28 | default: |
||
| 29 | throw new InvalidArgumentException('Bar chart metric helpers are not supported for this database.'); |
||
| 30 | } |
||
| 33 |
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