1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
namespace VideoGamesRecords\DwhBundle\Entity; |
6
|
|
|
|
7
|
|
|
use Doctrine\ORM\Mapping as ORM; |
8
|
|
|
use VideoGamesRecords\DwhBundle\Repository\TeamRepository; |
9
|
|
|
use VideoGamesRecords\DwhBundle\Traits\Entity\DateTrait; |
10
|
|
|
use VideoGamesRecords\DwhBundle\Traits\Entity\NbPostDay; |
11
|
|
|
|
12
|
|
|
#[ORM\Table(name:'dwh_team')] |
13
|
|
|
#[ORM\Entity(repositoryClass: TeamRepository::class)] |
14
|
|
|
class Team |
15
|
|
|
{ |
16
|
|
|
use DateTrait; |
17
|
|
|
use NbPostDay; |
18
|
|
|
use VgrCoreTraits\Entity\ChartRank0Trait; |
|
|
|
|
19
|
|
|
use VgrCoreTraits\Entity\ChartRank1Trait; |
|
|
|
|
20
|
|
|
use VgrCoreTraits\Entity\ChartRank2Trait; |
|
|
|
|
21
|
|
|
use VgrCoreTraits\Entity\ChartRank3Trait; |
|
|
|
|
22
|
|
|
use VgrCoreTraits\Entity\PointChartTrait; |
|
|
|
|
23
|
|
|
use VgrCoreTraits\Entity\RankPointChartTrait; |
|
|
|
|
24
|
|
|
use VgrCoreTraits\Entity\RankMedalTrait; |
|
|
|
|
25
|
|
|
use VgrCoreTraits\Entity\RankBadgeTrait; |
|
|
|
|
26
|
|
|
use VgrCoreTraits\Entity\PointBadgeTrait; |
|
|
|
|
27
|
|
|
use VgrCoreTraits\Entity\NbMasterBadgeTrait; |
|
|
|
|
28
|
|
|
use VgrCoreTraits\Entity\PointGameTrait; |
|
|
|
|
29
|
|
|
use VgrCoreTraits\Entity\RankPointGameTrait; |
|
|
|
|
30
|
|
|
|
31
|
|
|
#[ORM\Id, ORM\Column, ORM\GeneratedValue] |
32
|
|
|
private ?int $id; |
33
|
|
|
|
34
|
|
|
public function __toString() |
35
|
|
|
{ |
36
|
|
|
return sprintf('%s [%s]', $this->id, $this->id); |
37
|
|
|
} |
38
|
|
|
|
39
|
|
|
public function setId(int $id): void |
40
|
|
|
{ |
41
|
|
|
$this->id = $id; |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
public function getId(): ?int |
45
|
|
|
{ |
46
|
|
|
return $this->id; |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
public function setFromArray(array $row): void |
50
|
|
|
{ |
51
|
|
|
foreach ($row as $key => $value) { |
52
|
|
|
$this->$key = $value; |
53
|
|
|
} |
54
|
|
|
} |
55
|
|
|
} |
56
|
|
|
|
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