GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Issues (9)

tests/OutboxSubClass.php (2 issues)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Dsantang\DomainEventsDoctrine\Tests;
6
7
use Doctrine\ORM\Mapping as ORM;
8
use Dsantang\DomainEventsDoctrine\Outbox\OutboxMappedSuperclass;
9
10
/**
11
 * @ORM\Entity()
12
 * @ORM\Table
13
 */
14
class OutboxSubClass extends OutboxMappedSuperclass
15
{
16
    /** @ORM\Column(type="string", name="field_1", nullable=true) */
17
    private readonly string $field1;
18
19
    /** @ORM\Column(type="string", name="field_2", nullable=true) */
20
    private readonly string $field2;
21
22
    public function __construct()
23
    {
24
        $this->field1 = '';
0 ignored issues
show
The property field1 is declared read-only in Dsantang\DomainEventsDoctrine\Tests\OutboxSubClass.
Loading history...
25
        $this->field2 = '';
0 ignored issues
show
The property field2 is declared read-only in Dsantang\DomainEventsDoctrine\Tests\OutboxSubClass.
Loading history...
26
    }
27
28
    public function getField1(): string
29
    {
30
        return $this->field1;
31
    }
32
33
    public function getField2(): string
34
    {
35
        return $this->field2;
36
    }
37
}
38