1 | <?php |
||
2 | |||
3 | namespace Insenseanalytics\NovaBarMetrics; |
||
4 | |||
5 | use Laravel\Nova\Metrics\Partition; |
||
0 ignored issues
–
show
|
|||
6 | |||
7 | abstract class BarChartMetric extends Partition |
||
8 | { |
||
9 | use HasFrequencyDistributions; |
||
10 | |||
11 | /** |
||
12 | * The element's component. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | public $component = 'bar-chart-metric'; |
||
17 | |||
18 | /** |
||
19 | * Create a new partition metric result. |
||
20 | * |
||
21 | * @param array $value |
||
22 | * |
||
23 | * @return \Insenseanalytics\NovaBarMetrics\BarChartMetricResult |
||
24 | */ |
||
25 | public function result(array $value) |
||
26 | { |
||
27 | return new BarChartMetricResult($value); |
||
28 | } |
||
29 | } |
||
30 |
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