Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
29 | 24 | public function build(Interface_ $interface): InterfaceDefinition |
|
30 | { |
||
31 | 24 | $useStatements = $this->useStatementsBuilder->build($interface); |
|
32 | |||
33 | 24 | return new InterfaceDefinition( |
|
34 | 24 | new Name((string) $interface->namespacedName), |
|
35 | 24 | $this->membersBuilder->methods($interface->getMethods(), $useStatements), |
|
36 | 24 | $this->membersBuilder->constants($interface->stmts), |
|
37 | 24 | $this->buildInterfaces($interface->extends) |
|
38 | ); |
||
41 |
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