romeritoCL /
cachet-api-client
| 1 | <?php |
||
| 2 | |||
| 3 | namespace DevoraliveCachet\Result\Metric; |
||
| 4 | |||
| 5 | use DevoraliveCachet\Result\EnvelopeCollection; |
||
| 6 | use JMS\Serializer\Annotation as JMS; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Class MetricsEnvelope |
||
| 10 | * @package DevoraliveCachet\Result\Metric |
||
| 11 | */ |
||
| 12 | class MetricsEnvelope extends EnvelopeCollection |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var array |
||
| 17 | * @JMS\Type("array<DevoraliveCachet\Entity\Metric>") |
||
| 18 | */ |
||
| 19 | private $data; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get the value of Data |
||
| 23 | * |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | public function getData() |
||
| 27 | { |
||
| 28 | return $this->data; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Set the value of Data |
||
| 33 | * |
||
| 34 | * @param mixed data |
||
|
0 ignored issues
–
show
|
|||
| 35 | * |
||
| 36 | * @return self |
||
| 37 | */ |
||
| 38 | public function setData($data) |
||
| 39 | { |
||
| 40 | $this->data = $data; |
||
| 41 | return $this; |
||
| 42 | } |
||
| 43 | } |
||
| 44 |
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