| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class ImpassableBorderDataProvider extends AbstractBorderDataProvider |
||
| 16 | { |
||
| 17 | |||
| 18 | public function __construct( |
||
| 19 | private SpacecraftInterface $currentSpacecraft, |
||
| 20 | protected MapRepositoryInterface $mapRepository, |
||
| 21 | protected StarSystemMapRepositoryInterface $starSystemMapRepository |
||
| 22 | ) {} |
||
| 23 | |||
| 24 | #[Override] |
||
| 25 | protected function getDataClassString(): string |
||
| 26 | { |
||
| 27 | return BorderData::class; |
||
| 28 | } |
||
| 29 | |||
| 30 | #[Override] |
||
| 31 | protected function addFieldResults(ResultSetMapping $rsm): void |
||
| 32 | { |
||
| 33 | $rsm->addFieldResult('d', 'impassable', 'impassable'); |
||
| 34 | } |
||
| 35 | |||
| 36 | #[Override] |
||
| 40 | } |
||
| 41 | |||
| 42 | #[Override] |
||
| 46 | } |
||
| 47 | } |
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