1 | <?php |
||
2 | |||
3 | namespace App\Entity; |
||
4 | |||
5 | use App\Entity\Attribute\Accessor as EntityAccessor; |
||
6 | use Doctrine\Common\Collections\ArrayCollection; |
||
0 ignored issues
–
show
|
|||
7 | use Ds\Component\Model\Attribute\Accessor; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
8 | use Ds\Component\Model\Type\Deletable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Deletable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
9 | use Ds\Component\Model\Type\Identifiable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Identifiable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
10 | use Ds\Component\Model\Type\Ownable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Ownable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
11 | use Ds\Component\Model\Type\Uuidentifiable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Uuidentifiable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
12 | use Ds\Component\Model\Type\Versionable; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Type\Versionable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
13 | use Ds\Component\Tenant\Model\Attribute\Accessor as TenantAccessor; |
||
0 ignored issues
–
show
The type
Ds\Component\Tenant\Model\Attribute\Accessor was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
14 | use Ds\Component\Tenant\Model\Type\Tenantable; |
||
0 ignored issues
–
show
The type
Ds\Component\Tenant\Model\Type\Tenantable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
15 | use Knp\DoctrineBehaviors\Model as Behavior; |
||
0 ignored issues
–
show
The type
Knp\DoctrineBehaviors\Model was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
16 | |||
17 | use ApiPlatform\Core\Annotation\ApiResource; |
||
0 ignored issues
–
show
The type
ApiPlatform\Core\Annotation\ApiResource was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
18 | use ApiPlatform\Core\Annotation\ApiProperty; |
||
0 ignored issues
–
show
The type
ApiPlatform\Core\Annotation\ApiProperty was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
19 | use Doctrine\ORM\Mapping as ORM; |
||
0 ignored issues
–
show
The type
Doctrine\ORM\Mapping was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
20 | use Symfony\Bridge\Doctrine\Validator\Constraints as ORMAssert; |
||
0 ignored issues
–
show
The type
Symfony\Bridge\Doctrine\Validator\Constraints was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
21 | use Symfony\Component\Serializer\Annotation As Serializer; |
||
0 ignored issues
–
show
The type
Symfony\Component\Serializer\Annotation was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
22 | use Symfony\Component\Validator\Constraints as Assert; |
||
0 ignored issues
–
show
The type
Symfony\Component\Validator\Constraints was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
23 | |||
24 | /** |
||
25 | * Class System |
||
26 | * |
||
27 | * @ApiResource( |
||
28 | * attributes={ |
||
29 | * "normalization_context"={ |
||
30 | * "groups"={"system_output"} |
||
31 | * }, |
||
32 | * "denormalization_context"={ |
||
33 | * "groups"={"system_input"} |
||
34 | * }, |
||
35 | * "filters"={ |
||
36 | * "app.system.search", |
||
37 | * "app.system.date", |
||
38 | * "app.system.order" |
||
39 | * } |
||
40 | * } |
||
41 | * ) |
||
42 | * @ORM\Entity(repositoryClass="App\Repository\SystemRepository") |
||
43 | * @ORM\Table(name="app_system") |
||
44 | * @ORM\Cache(usage="NONSTRICT_READ_WRITE") |
||
45 | * @ORMAssert\UniqueEntity(fields="uuid") |
||
46 | */ |
||
47 | class System implements Identifiable, Uuidentifiable, Ownable, Deletable, Versionable, Tenantable |
||
48 | { |
||
49 | use Behavior\Timestampable\Timestampable; |
||
0 ignored issues
–
show
The type
Knp\DoctrineBehaviors\Mo...stampable\Timestampable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
50 | use Behavior\SoftDeletable\SoftDeletable; |
||
0 ignored issues
–
show
The type
Knp\DoctrineBehaviors\Mo...Deletable\SoftDeletable was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
51 | |||
52 | use Accessor\Id; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Id was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
53 | use Accessor\Uuid; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Uuid was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
54 | use Accessor\Owner; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Owner was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
55 | use Accessor\OwnerUuid; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\OwnerUuid was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
56 | use EntityAccessor\Roles; |
||
57 | use Accessor\Deleted; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Deleted was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
58 | use Accessor\Version; |
||
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Version was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
59 | use TenantAccessor\Tenant; |
||
0 ignored issues
–
show
The type
Ds\Component\Tenant\Mode...tribute\Accessor\Tenant was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
60 | |||
61 | /** |
||
62 | * @var integer |
||
63 | * @ApiProperty(identifier=false, writable=false) |
||
64 | * @Serializer\Groups({"system_output"}) |
||
65 | * @ORM\Id |
||
66 | * @ORM\GeneratedValue(strategy="AUTO") |
||
67 | * @ORM\Column(name="id", type="integer") |
||
68 | */ |
||
69 | private $id; |
||
0 ignored issues
–
show
|
|||
70 | |||
71 | /** |
||
72 | * @var string |
||
73 | * @ApiProperty(identifier=true, writable=false) |
||
74 | * @Serializer\Groups({"system_output"}) |
||
75 | * @ORM\Column(name="uuid", type="guid", unique=true) |
||
76 | * @Assert\Uuid |
||
77 | */ |
||
78 | private $uuid; |
||
0 ignored issues
–
show
|
|||
79 | |||
80 | /** |
||
81 | * @var \DateTime |
||
82 | * @ApiProperty(writable=false) |
||
83 | * @Serializer\Groups({"system_output"}) |
||
84 | */ |
||
85 | protected $createdAt; |
||
86 | |||
87 | /** |
||
88 | * @var \DateTime |
||
89 | * @ApiProperty(writable=false) |
||
90 | * @Serializer\Groups({"system_output"}) |
||
91 | */ |
||
92 | protected $updatedAt; |
||
93 | |||
94 | /** |
||
95 | * @var \DateTime |
||
96 | * @ApiProperty(writable=false) |
||
97 | * @Serializer\Groups({"system_output"}) |
||
98 | */ |
||
99 | protected $deletedAt; |
||
100 | |||
101 | /** |
||
102 | * @var string |
||
103 | * @ApiProperty |
||
104 | * @Serializer\Groups({"system_output", "system_input"}) |
||
105 | * @ORM\Column(name="`owner`", type="string", length=255, nullable=true) |
||
106 | * @Assert\NotBlank |
||
107 | * @Assert\Length(min=1, max=255) |
||
108 | */ |
||
109 | private $owner; |
||
0 ignored issues
–
show
|
|||
110 | |||
111 | /** |
||
112 | * @var string |
||
113 | * @ApiProperty |
||
114 | * @Serializer\Groups({"system_output", "system_input"}) |
||
115 | * @ORM\Column(name="owner_uuid", type="guid", nullable=true) |
||
116 | * @Assert\NotBlank |
||
117 | * @Assert\Uuid |
||
118 | */ |
||
119 | private $ownerUuid; |
||
0 ignored issues
–
show
|
|||
120 | |||
121 | /** |
||
122 | * @var \Doctrine\Common\Collections\ArrayCollection |
||
123 | * @ApiProperty(writable=false) |
||
124 | * @Serializer\Groups({"system_output"}) |
||
125 | * @ORM\OneToMany(targetEntity="SystemRole", mappedBy="system", cascade={"persist", "remove"}) |
||
126 | * @ORM\Cache(usage="NONSTRICT_READ_WRITE") |
||
127 | */ |
||
128 | private $roles; |
||
129 | |||
130 | /** |
||
131 | * @var integer |
||
132 | * @ApiProperty |
||
133 | * @Serializer\Groups({"system_output", "system_input"}) |
||
134 | * @ORM\Column(name="version", type="integer") |
||
135 | * @ORM\Version |
||
136 | * @Assert\NotBlank |
||
137 | * @Assert\Type("integer") |
||
138 | */ |
||
139 | private $version; |
||
0 ignored issues
–
show
|
|||
140 | |||
141 | /** |
||
142 | * @var string |
||
143 | * @ApiProperty(writable=false) |
||
144 | * @Serializer\Groups({"system_output"}) |
||
145 | * @ORM\Column(name="tenant", type="guid") |
||
146 | * @Assert\Uuid |
||
147 | */ |
||
148 | private $tenant; |
||
0 ignored issues
–
show
|
|||
149 | |||
150 | /** |
||
151 | * Constructor |
||
152 | */ |
||
153 | public function __construct() |
||
154 | { |
||
155 | $this->roles = new ArrayCollection; |
||
156 | } |
||
157 | } |
||
158 |
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