| Total Complexity | 9 |
| Total Lines | 67 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | #[ORM\Entity(repositoryClass: \GeodisBundle\Repository\GeodisLoggerRepository::class)] |
||
| 9 | #[ORM\Table(name: 'export_geodis_log')] |
||
| 10 | class GeodisLogger |
||
| 11 | { |
||
| 12 | use TimestampableTrait; |
||
| 13 | |||
| 14 | #[ORM\Id] |
||
| 15 | #[ORM\GeneratedValue] |
||
| 16 | #[ORM\Column(type: 'integer')] |
||
| 17 | private ?int $id = null; |
||
| 18 | |||
| 19 | // en XML c'était "text" mais la propriété est un entier : on aligne en integer |
||
| 20 | #[ORM\Column(type: 'integer')] |
||
| 21 | private int $code; |
||
| 22 | |||
| 23 | #[ORM\Column(type: 'text')] |
||
| 24 | private string $message; |
||
| 25 | |||
| 26 | #[ORM\Column(type: 'text')] |
||
| 27 | private string $called; |
||
| 28 | |||
| 29 | #[ORM\Column(type: 'text')] |
||
| 30 | private string $occured; |
||
| 31 | |||
| 32 | public function getId(): ?int |
||
| 33 | { |
||
| 34 | return $this->id; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getCode(): int |
||
| 38 | { |
||
| 39 | return $this->code; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function setCode(int $code): void |
||
| 43 | { |
||
| 44 | $this->code = $code; |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getMessage(): string |
||
| 48 | { |
||
| 49 | return $this->message; |
||
| 50 | } |
||
| 51 | |||
| 52 | public function setMessage(string $message): void |
||
| 55 | } |
||
| 56 | |||
| 57 | public function getCalled(): string |
||
| 58 | { |
||
| 59 | return $this->called; |
||
| 60 | } |
||
| 61 | |||
| 62 | public function setCalled(string $called): void |
||
| 63 | { |
||
| 64 | $this->called = $called; |
||
| 65 | } |
||
| 66 | |||
| 67 | public function getOccured(): string |
||
| 68 | { |
||
| 69 | return $this->occured; |
||
| 70 | } |
||
| 71 | |||
| 72 | public function setOccured(string $occured): void |
||
| 75 | } |
||
| 76 | } |
||
| 77 |
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