| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | #[Table(name: 'stu_lottery_buildplan')] |
||
| 18 | #[Entity(repositoryClass: LotteryWinnerBuildplanRepository::class)] |
||
| 19 | class LotteryWinnerBuildplan implements LotteryWinnerBuildplanInterface |
||
| 20 | { |
||
| 21 | #[Id] |
||
| 22 | #[Column(type: 'integer')] |
||
| 23 | #[GeneratedValue(strategy: 'IDENTITY')] |
||
| 24 | private int $id; |
||
| 25 | |||
| 26 | #[Column(type: 'integer')] |
||
| 27 | private int $buildplan_id; |
||
| 28 | |||
| 29 | #[Column(type: 'integer')] |
||
| 30 | private int $chance; |
||
| 31 | |||
| 32 | #[ManyToOne(targetEntity: 'ShipBuildplan')] |
||
| 33 | #[JoinColumn(name: 'buildplan_id', referencedColumnName: 'id', onDelete: 'CASCADE')] |
||
| 34 | private ShipBuildplanInterface $buildplan; |
||
| 35 | |||
| 36 | public function getId(): int |
||
| 37 | { |
||
| 38 | return $this->id; |
||
| 39 | } |
||
| 40 | |||
| 41 | #[Override] |
||
| 42 | public function getBuildplan(): ShipBuildplanInterface |
||
| 43 | { |
||
| 44 | return $this->buildplan; |
||
| 45 | } |
||
| 46 | |||
| 47 | #[Override] |
||
| 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