Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
16 | abstract class Definition implements Named, HasNodeIdentifier |
||
17 | { |
||
18 | use FQNIdentifier; |
||
19 | |||
20 | /** @var Method[] */ |
||
21 | protected array $methods; |
||
22 | |||
23 | /** @param Method[] $methods */ |
||
24 | 123 | public function __construct(Name $name, array $methods = []) |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * This method is used by the Summary class to count how many methods by visibility in a |
||
32 | * Structure are |
||
33 | * |
||
34 | * @see Summary::methodsSummary() for more details |
||
35 | */ |
||
36 | 7 | public function countMethodsByVisibility(Visibility $visibility): int |
|
41 | )); |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * This method is used when the commands are called with the option `hide-empty-blocks` |
||
46 | * |
||
47 | * For interfaces, it counts the number of constants. |
||
48 | * For classes, it counts both constants and properties. |
||
49 | * |
||
50 | * @see ClassDefinition::hasProperties() for more details |
||
51 | * @see InterfaceDefinition::hasProperties() for more details |
||
52 | */ |
||
53 | abstract public function hasProperties(): bool; |
||
54 | |||
55 | /** @return Method[] */ |
||
56 | 36 | public function methods(): array |
|
61 |
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