Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
25 | public function build(Enum_ $enum): EnumDefinition |
||
26 | { |
||
27 | $useStatements = $this->useStatementsBuilder->build($enum); |
||
28 | |||
29 | return new EnumDefinition( |
||
30 | new Name((string) $enum->namespacedName), |
||
31 | $this->membersBuilder->enumCases($enum->stmts), |
||
32 | $this->membersBuilder->methods($enum->getMethods(), $useStatements), |
||
33 | $this->membersBuilder->constants($enum->stmts), |
||
34 | $this->buildInterfaces($enum->implements), |
||
35 | $this->buildTraits($enum->stmts), |
||
36 | ); |
||
39 |
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