1 | <?php |
||
2 | /** |
||
3 | * @author oliverde8<[email protected]> |
||
4 | * @category @category oliverde8/ComfyBundle |
||
5 | */ |
||
6 | |||
7 | namespace oliverde8\ComfyBundle\Model; |
||
8 | |||
9 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
||
0 ignored issues
–
show
|
|||
10 | |||
11 | interface ConfigInterface |
||
12 | { |
||
13 | /** |
||
14 | * Get path to the config. |
||
15 | * |
||
16 | * @return string |
||
17 | */ |
||
18 | public function getPath() : string; |
||
19 | |||
20 | /** |
||
21 | * Get name of the configuration. |
||
22 | * |
||
23 | * @return string |
||
24 | */ |
||
25 | public function getName() : string; |
||
26 | |||
27 | /** |
||
28 | * Get description. |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | public function getDescription() : string; |
||
33 | |||
34 | /** |
||
35 | * Get max scope depth for config.. |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | public function getScope() : int; |
||
40 | |||
41 | /** |
||
42 | * Do we display the config in the config windows. |
||
43 | * |
||
44 | * @return bool |
||
45 | */ |
||
46 | public function isHidden(): bool; |
||
47 | |||
48 | /** |
||
49 | * Get default raw value. |
||
50 | * |
||
51 | * @return mixed |
||
52 | */ |
||
53 | public function getDefaultValue(); |
||
54 | |||
55 | /** |
||
56 | * Get Raw value that is used in the storage system. |
||
57 | * |
||
58 | * @param string|null $scope |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getRawValue(string $scope = null): ?string; |
||
63 | |||
64 | /** |
||
65 | * Set value. |
||
66 | * |
||
67 | * @param mixed $value |
||
68 | * @param string|null $scope |
||
69 | * |
||
70 | * @return self |
||
71 | */ |
||
72 | public function set($value, string $scope = null): self; |
||
73 | |||
74 | /** |
||
75 | * Validates that value is usable for this config. |
||
76 | * |
||
77 | * @param $value |
||
78 | * @param string|null $scope |
||
79 | * |
||
80 | * @return ConstraintViolationListInterface |
||
81 | */ |
||
82 | public function validate(&$value, string $scope = null): ConstraintViolationListInterface; |
||
83 | |||
84 | /** |
||
85 | * Get cleaned up value that can be used by application. |
||
86 | * |
||
87 | * @param string|null $scope |
||
88 | * |
||
89 | * @return mixed |
||
90 | */ |
||
91 | public function get(string $scope = null); |
||
92 | |||
93 | /** |
||
94 | * Check if config inherits its value for a given scope. |
||
95 | * |
||
96 | * @param string|null $scope |
||
97 | * |
||
98 | * @return mixed |
||
99 | */ |
||
100 | public function doesInherit(string $scope = null); |
||
101 | } |
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