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