mmucklo /
DtcQueueBundle
| 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\StallableJob; |
||
| 7 | |||
| 8 | abstract class BaseJob extends StallableJob |
||
| 9 | { |
||
| 10 | #[ODM\Id] |
||
| 11 | protected $id; |
||
| 12 | |||
| 13 | #[ODM\Field(type: 'string', name: 'worker_name')] |
||
| 14 | protected $workerName; |
||
| 15 | |||
| 16 | #[ODM\Field(type: 'string', name: 'class_name')] |
||
| 17 | protected $className; |
||
| 18 | |||
| 19 | #[ODM\Field(type: 'string')] |
||
| 20 | protected $method; |
||
| 21 | |||
| 22 | #[ODM\Field(type: 'string')] |
||
| 23 | #[ODM\Index(unique: false, order: 'asc')] |
||
| 24 | protected $status; |
||
| 25 | |||
| 26 | #[ODM\Field(type: 'hash')] |
||
| 27 | protected $args; |
||
| 28 | |||
| 29 | #[ODM\Field(type: 'boolean', nullable: true)] |
||
| 30 | protected $batch; |
||
| 31 | |||
| 32 | #[ODM\Field(type: 'int', nullable: true)] |
||
| 33 | #[ODM\Index(unique: false, order: 'asc')] |
||
| 34 | protected $priority; |
||
| 35 | |||
| 36 | #[ODM\Field(type: 'string')] |
||
| 37 | protected $crcHash; |
||
| 38 | |||
| 39 | #[ODM\Field(type: 'date', nullable: true)] |
||
| 40 | #[ODM\AlsoLoad('when')] |
||
| 41 | #[ODM\Index(unique: false, order: 'asc')] |
||
| 42 | protected $whenAt; |
||
| 43 | |||
| 44 | #[ODM\Field(type: 'date', nullable: true)] |
||
| 45 | protected $expiresAt; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * When the job started. |
||
| 49 | */ |
||
| 50 | #[ODM\Field(type: 'date', nullable: true)] |
||
| 51 | protected $startedAt; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * When the job finished. |
||
| 55 | */ |
||
| 56 | #[ODM\Field(type: 'date', nullable: true)] |
||
| 57 | protected $finishedAt; |
||
| 58 | |||
| 59 | #[ODM\Field(type: 'float', nullable: true)] |
||
| 60 | protected $elapsed; |
||
| 61 | |||
| 62 | #[ODM\Field(type: 'string', nullable: true)] |
||
| 63 | protected $message; |
||
| 64 | |||
| 65 | #[ODM\Field(type: 'date')] |
||
| 66 | protected $createdAt; |
||
| 67 | |||
| 68 | #[ODM\Field(type: 'date')] |
||
| 69 | protected $updatedAt; |
||
| 70 | |||
| 71 | #[ODM\Field(type: 'int', nullable: true)] |
||
| 72 | protected $maxDuration; |
||
| 73 | |||
| 74 | #[ODM\Field(type: 'object_id', nullable: true)] |
||
| 75 | protected $runId; |
||
| 76 | |||
| 77 | #[ODM\AlsoLoad('stalledCount')] |
||
| 78 | #[ODM\Field(type: 'int')] |
||
| 79 | protected $stalls = 0; |
||
| 80 | |||
| 81 | #[ODM\AlsoLoad('maxStalled')] |
||
| 82 | #[ODM\Field(type: 'int', nullable: true)] |
||
| 83 | protected $maxStalls; |
||
| 84 | |||
| 85 | #[ODM\Field(type: 'int')] |
||
| 86 | protected $failures = 0; |
||
| 87 | |||
| 88 | #[ODM\Field(type: 'int', nullable: true)] |
||
| 89 | protected $maxFailures; |
||
| 90 | |||
| 91 | #[ODM\AlsoLoad('errorCount')] |
||
| 92 | #[ODM\Field(type: 'int')] |
||
| 93 | protected $exceptions = 0; |
||
| 94 | |||
| 95 | #[ODM\AlsoLoad('maxError')] |
||
| 96 | #[ODM\Field(type: 'int', nullable: true)] |
||
| 97 | protected $maxExceptions; |
||
| 98 | |||
| 99 | #[ODM\Field(type: 'int')] |
||
| 100 | protected $retries = 0; |
||
| 101 | |||
| 102 | #[ODM\Field(type: 'int', nullable: true)] |
||
| 103 | protected $maxRetries; |
||
| 104 | } |
||
| 105 |
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