Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CMQExceptionBase extends RuntimeException |
||
8 | { |
||
9 | /* |
||
10 | @type code: int |
||
|
|||
11 | @param code: 错误类型 |
||
12 | |||
13 | @type message: string |
||
14 | @param message: 错误描述 |
||
15 | |||
16 | @type data: array |
||
17 | @param data: 错误数据 |
||
18 | */ |
||
19 | |||
20 | public $code; |
||
21 | public $message; |
||
22 | public $data; |
||
23 | |||
24 | public function __construct($message, $code = -1, $data = []) |
||
25 | { |
||
26 | parent::__construct($message, $code); |
||
27 | $this->code = $code; |
||
28 | $this->message = $message; |
||
29 | $this->data = $data; |
||
30 | } |
||
31 | |||
32 | public function __toString() |
||
33 | { |
||
34 | return 'CMQExceptionBase '.$this->get_info(); |
||
35 | } |
||
36 | |||
37 | public function get_info() |
||
44 | } |
||
45 | } |
||
46 |
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