1 | <?php |
||
2 | |||
3 | namespace Dtc\QueueBundle\Document; |
||
4 | |||
5 | use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM; |
||
0 ignored issues
–
show
|
|||
6 | |||
7 | abstract class BaseRun extends \Dtc\QueueBundle\Model\Run |
||
8 | { |
||
9 | #[ODM\Id] |
||
10 | protected $id; |
||
11 | |||
12 | #[ODM\Field(type: 'date', nullable: true)] |
||
13 | protected $startedAt; |
||
14 | |||
15 | #[ODM\Field(type: 'date', nullable: true)] |
||
16 | protected $endedAt; |
||
17 | |||
18 | #[ODM\Field(type: 'float', nullable: true)] |
||
19 | protected $elapsed; |
||
20 | |||
21 | #[ODM\Field(type: 'int', nullable: true)] |
||
22 | protected $duration; // How long to run for in seconds |
||
23 | #[ODM\Field(type: 'date')] |
||
24 | protected $lastHeartbeatAt; |
||
25 | |||
26 | #[ODM\Field(type: 'int', nullable: true)] |
||
27 | protected $maxCount; |
||
28 | #[ODM\Field(type: 'int', nullable: true)] |
||
29 | protected $processed; // Number of jobs processed |
||
30 | #[ODM\Field(type: 'string', nullable: true)] |
||
31 | protected $hostname; |
||
32 | |||
33 | #[ODM\Field(type: 'int', nullable: true)] |
||
34 | protected $pid; |
||
35 | |||
36 | #[ODM\Field(type: 'int', nullable: true)] |
||
37 | protected $processTimeout; |
||
38 | |||
39 | #[ODM\Field(type: 'string', nullable: true)] |
||
40 | protected $currentJobId; |
||
41 | } |
||
42 |
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