| Total Complexity | 4 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | trait PropertyDataTrait |
||
| 7 | { |
||
| 8 | use MagicArrayAccessTrait; |
||
| 9 | /** |
||
| 10 | * 设置值 |
||
| 11 | * |
||
| 12 | * @param string $name |
||
| 13 | * @param mixed $value |
||
| 14 | */ |
||
| 15 | public function __set(string $name, $value) |
||
| 16 | { |
||
| 17 | $this->$name = $value; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * 获取参数值 |
||
| 22 | * |
||
| 23 | * @param string $name |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | public function __get(string $name) |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * 判断是否设置 |
||
| 33 | * |
||
| 34 | * @param string $name |
||
| 35 | * @return boolean |
||
| 36 | */ |
||
| 37 | public function __isset(string $name) |
||
| 38 | { |
||
| 39 | return isset($this->$name); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * 取消设置值 |
||
| 44 | * |
||
| 45 | * @param string $name |
||
| 46 | */ |
||
| 47 | public function __unset(string $name) |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
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