| Conditions | 4 |
| Paths | 6 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function __construct(array $options = []) |
||
| 32 | { |
||
| 33 | parent::__construct($options); |
||
| 34 | |||
| 35 | if ((new ReflectionClass(AlibabaCloud::class))->hasMethod('appendUserAgent')) { |
||
| 36 | if (class_exists('AlibabaCloud\Release')) { |
||
| 37 | AlibabaCloud::appendUserAgent('SDK', \AlibabaCloud\Release::VERSION); |
||
|
|
|||
| 38 | } |
||
| 39 | } |
||
| 40 | |||
| 41 | if (!$this->action) { |
||
| 42 | $array = explode('\\', get_class($this)); |
||
| 43 | $this->action = array_pop($array); |
||
| 44 | } |
||
| 47 |
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