| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class AttackerProviderFactory implements AttackerProviderFactoryInterface |
||
| 16 | { |
||
| 17 | 4 | public function __construct( |
|
| 23 | |||
| 24 | 1 | #[Override] |
|
| 25 | public function createSpacecraftAttacker(SpacecraftWrapperInterface $wrapper, bool $isAttackingShieldsOnly = false): SpacecraftAttacker |
||
| 26 | { |
||
| 27 | 1 | return new SpacecraftAttacker( |
|
| 28 | 1 | $wrapper, |
|
| 29 | 1 | $this->shipTorpedoManager, |
|
| 30 | 1 | $isAttackingShieldsOnly, |
|
| 31 | 1 | $this->stuRandom |
|
| 32 | 1 | ); |
|
| 33 | } |
||
| 34 | |||
| 35 | 1 | #[Override] |
|
| 36 | public function createEnergyPhalanxAttacker(ColonyInterface $colony): EnergyAttackerInterface |
||
| 37 | { |
||
| 38 | 1 | return new EnergyPhalanx( |
|
| 39 | 1 | $colony, |
|
| 40 | 1 | $this->moduleRepository |
|
| 41 | 1 | ); |
|
| 42 | } |
||
| 43 | |||
| 44 | 1 | #[Override] |
|
| 50 | 1 | ); |
|
| 51 | } |
||
| 52 | } |
||
| 53 |
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