Conditions | 4 |
Paths | 8 |
Total Lines | 7 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function __construct($data) { |
||
16 | $this->id = $data->id; |
||
17 | $this->name = $data->name; |
||
18 | $this->role = (strlen($data->role)) ? $data->role : null; |
||
19 | $this->image = (strlen($data->image)) ? $data->image : null; |
||
20 | $this->imageURL = ($this->image !== null) ? TVDB::IMAGE_URL_PREFIX . $this->image : null; |
||
21 | $this->lastUpdated = Carbon::parse($data->lastUpdated); |
||
22 | } |
||
23 | } |
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