1 | <?php |
||
2 | |||
3 | namespace Dtc\QueueBundle\Document; |
||
4 | |||
5 | use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM; |
||
0 ignored issues
–
show
|
|||
6 | use Dtc\QueueBundle\Model\JobTiming as BaseJobTiming; |
||
7 | |||
8 | #[ODM\Document(db: 'dtc_queue', collection: 'job_timing')] |
||
9 | class JobTiming extends BaseJobTiming |
||
10 | { |
||
11 | #[ODM\Id] |
||
12 | protected $id; |
||
13 | |||
14 | /** |
||
15 | * @return mixed |
||
16 | */ |
||
17 | public function getId() |
||
18 | { |
||
19 | return $this->id; |
||
20 | } |
||
21 | 1 | ||
22 | /** |
||
23 | 1 | * @param mixed $id |
|
24 | */ |
||
25 | public function setId($id) |
||
26 | { |
||
27 | $this->id = $id; |
||
28 | } |
||
29 | 1 | ||
30 | #[ODM\Field(type: 'date')] |
||
31 | 1 | #[ODM\Index(unique: false, order: 'asc')] |
|
32 | 1 | protected $finishedAt; |
|
33 | |||
34 | #[ODM\Field(type: 'integer')] |
||
35 | #[ODM\Index(unique: false, order: 'asc')] |
||
36 | protected $status; |
||
37 | } |
||
38 |
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