mmucklo /
DtcQueueBundle
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Dtc\QueueBundle\Entity; |
||
| 4 | |||
| 5 | use Doctrine\ORM\Mapping as ORM; |
||
|
0 ignored issues
–
show
|
|||
| 6 | |||
| 7 | /** |
||
| 8 | * Class BaseRun. |
||
| 9 | */ |
||
| 10 | abstract class BaseRun extends \Dtc\QueueBundle\Model\Run |
||
| 11 | { |
||
| 12 | #[ORM\Column(name: 'id', type: 'bigint')] |
||
| 13 | #[ORM\Id] |
||
| 14 | #[ORM\GeneratedValue(strategy: 'AUTO')] |
||
| 15 | protected $id; |
||
| 16 | #[ORM\Column(name: 'started_at', type: 'datetime', nullable: true)] |
||
| 17 | protected $startedAt; |
||
| 18 | #[ORM\Column(name: 'ended_at', type: 'datetime', nullable: true)] |
||
| 19 | protected $endedAt; |
||
| 20 | |||
| 21 | #[ORM\Column(name: 'elapsed', type: 'float', nullable: true)] |
||
| 22 | protected $elapsed; |
||
| 23 | |||
| 24 | #[ORM\Column(name: 'duration', type: 'integer', nullable: true)] |
||
| 25 | protected $duration; // How long to run for in seconds |
||
| 26 | #[ORM\Column(name: 'last_heartbeat_at', type: 'datetime')] |
||
| 27 | protected $lastHeartbeatAt; |
||
| 28 | |||
| 29 | #[ORM\Column(name: 'max_count', type: 'integer', nullable: true)] |
||
| 30 | protected $maxCount; |
||
| 31 | #[ORM\Column(name: 'processed', type: 'integer')] |
||
| 32 | protected $processed = 0; // Number of jobs processed |
||
| 33 | #[ORM\Column(name: 'hostname', type: 'string', nullable: true)] |
||
| 34 | protected $hostname; |
||
| 35 | #[ORM\Column(name: 'pid', type: 'integer', nullable: true)] |
||
| 36 | protected $pid; |
||
| 37 | |||
| 38 | #[ORM\Column(name: 'process_timeout', type: 'integer', nullable: true)] |
||
| 39 | protected $processTimeout; |
||
| 40 | |||
| 41 | #[ORM\Column(name: 'current_job_id', type: 'string', nullable: true)] |
||
| 42 | protected $currentJobId; |
||
| 43 | } |
||
| 44 |
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