| Total Complexity | 10 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 5 | class Config |
||
| 6 | { |
||
| 7 | use PathTrait; |
||
|
|
|||
| 8 | |||
| 9 | protected $tags = []; |
||
| 10 | |||
| 11 | protected $user = []; |
||
| 12 | |||
| 13 | protected $release = ''; |
||
| 14 | |||
| 15 | public function hasTags(): bool |
||
| 16 | { |
||
| 17 | return !empty($this->tags); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function getTags(): array |
||
| 23 | } |
||
| 24 | |||
| 25 | public function setTags(array $tags): void |
||
| 26 | { |
||
| 27 | $this->tags = $tags; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function addTag(string $key, $value): void |
||
| 31 | { |
||
| 32 | $this->tags[$key] = $value; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function hasUser(): bool |
||
| 36 | { |
||
| 37 | return !empty($this->user); |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getUser(): array |
||
| 41 | { |
||
| 42 | return $this->user; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function setUser(array $user): void |
||
| 48 | } |
||
| 49 | |||
| 50 | public function hasRelease(): bool |
||
| 53 | } |
||
| 54 | |||
| 55 | public function getRelease(): string |
||
| 56 | { |
||
| 57 | return $this->release; |
||
| 58 | } |
||
| 59 | |||
| 60 | public function setRelease(string $release) |
||
| 65 |
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