Issues (219)

Entity/RunArchive.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Dtc\QueueBundle\Entity;
4
5
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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
7
#[ORM\Entity]
8
#[ORM\Table(name: 'dtc_queue_run_archive')]
9
#[ORM\Index(columns: ['ended_at'], name: 'run_archive_ended_at_idx')]
10
class RunArchive extends BaseRun
11
{
12
    #[ORM\Column(name: 'started_at', type: 'datetime', nullable: true)]
13
    protected $startedAt;
14
    #[ORM\Column(name: 'duration', type: 'integer', nullable: true)]
15
    protected $duration; // How long to run for in seconds
16
    #[ORM\Column(name: 'ended_at', type: 'datetime', nullable: true)]
17
    protected $endedAt;
18
19
    #[ORM\Column(name: 'elapsed', type: 'float', nullable: true)]
20
    protected $elapsed;
21
22
    #[ORM\Column(name: 'max_count', type: 'integer', nullable: true)]
23
    protected $maxCount;
24
25
    #[ORM\Column(name: 'last_heartbeat_at', type: 'datetime', nullable: true)]
26
    protected $lastHeartbeatAt;
27
28
    #[ORM\Column(name: 'process_timeout', type: 'integer', nullable: true)]
29
    protected $processTimeout;
30
31
    #[ORM\Column(name: 'current_job_id', type: 'string', nullable: true)]
32
    protected $currentJobId;
33
}
34