Issues (219)

Entity/JobArchive.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_job_archive')]
9
#[ORM\Index(columns: ['status'], name: 'job_archive_status_idx')]
10
#[ORM\Index(columns: ['updated_at'], name: 'job_archive_updated_at_idx')]
11
class JobArchive extends BaseJob
12
{
13
    #[ORM\Column(name: 'id', type: 'bigint')]
14
    #[ORM\Id]
15
    protected $id;
16
17
    /**
18
     * When the job finished.
19
     */
20
    #[ORM\Column(name: 'finished_at', type: 'datetime', nullable: true)]
21
    protected $finishedAt;
22
23
    #[ORM\Column(name: 'elapsed', type: 'float', nullable: true)]
24
    protected $elapsed;
25
26
    /**
27
     * When the job started.
28
     */
29
    #[ORM\Column(name: 'started_at', type: 'datetime', nullable: true)]
30
    protected $startedAt;
31
32
    #[ORM\Column(name: 'when_us', type: 'decimal', precision: 18, scale: 0, nullable: true)]
33
    protected $whenUs;
34
35
    #[ORM\Column(name: 'priority', type: 'integer', nullable: true)]
36
    protected $priority;
37
38
    #[ORM\Column(name: 'expires_at', type: 'datetime', nullable: true)]
39
    protected $expiresAt;
40
41
    #[ORM\Column(name: 'updated_at', type: 'datetime')]
42
    protected $updatedAt;
43
}
44