| 1 | <?php |
||
| 2 | |||
| 3 | namespace Loevgaard\DandomainFoundation\Entity; |
||
| 4 | |||
| 5 | use Doctrine\ORM\Mapping as ORM; |
||
| 6 | use Loevgaard\DandomainFoundation\Entity\Generated\InvoiceInterface; |
||
|
0 ignored issues
–
show
|
|||
| 7 | use Loevgaard\DandomainFoundation\Entity\Generated\InvoiceTrait; |
||
|
0 ignored issues
–
show
The type
Loevgaard\DandomainFound...\Generated\InvoiceTrait 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 8 | |||
| 9 | /** |
||
| 10 | * @ORM\Entity() |
||
| 11 | * @ORM\Table(name="ldf_invoices") |
||
| 12 | */ |
||
| 13 | class Invoice extends AbstractEntity implements InvoiceInterface |
||
| 14 | { |
||
| 15 | use InvoiceTrait; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | * |
||
| 20 | * @ORM\Id |
||
| 21 | * @ORM\GeneratedValue |
||
| 22 | * @ORM\Column(type="integer") |
||
| 23 | **/ |
||
| 24 | protected $id; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string|null |
||
| 28 | * |
||
| 29 | * @ORM\Column(nullable=true, type="string", length=191) |
||
| 30 | */ |
||
| 31 | protected $creditNoteNumber; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var \DateTimeImmutable|null |
||
| 35 | * |
||
| 36 | * @ORM\Column(nullable=true, type="datetime_immutable") |
||
| 37 | */ |
||
| 38 | protected $date; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var bool|null |
||
| 42 | * |
||
| 43 | * @ORM\Column(nullable=true, type="boolean") |
||
| 44 | */ |
||
| 45 | protected $isPaid; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @var int|null |
||
| 49 | * |
||
| 50 | * @ORM\Column(nullable=true, type="integer") |
||
| 51 | */ |
||
| 52 | protected $number; |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @var string|null |
||
| 56 | * |
||
| 57 | * @ORM\Column(nullable=true, type="string", length=191) |
||
| 58 | */ |
||
| 59 | protected $state; |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return int |
||
| 63 | */ |
||
| 64 | public function getId(): int |
||
| 65 | { |
||
| 66 | return (int) $this->id; |
||
| 67 | } |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @param int $id |
||
| 71 | * |
||
| 72 | * @return InvoiceInterface |
||
| 73 | */ |
||
| 74 | public function setId($id) |
||
| 75 | { |
||
| 76 | $this->id = $id; |
||
| 77 | |||
| 78 | return $this; |
||
| 79 | } |
||
| 80 | |||
| 81 | /** |
||
| 82 | * @return null|string |
||
| 83 | */ |
||
| 84 | public function getCreditNoteNumber() |
||
| 85 | { |
||
| 86 | return $this->creditNoteNumber; |
||
| 87 | } |
||
| 88 | |||
| 89 | /** |
||
| 90 | * @param null|string $creditNoteNumber |
||
| 91 | * |
||
| 92 | * @return InvoiceInterface |
||
| 93 | */ |
||
| 94 | public function setCreditNoteNumber($creditNoteNumber) |
||
| 95 | { |
||
| 96 | $this->creditNoteNumber = $creditNoteNumber; |
||
| 97 | |||
| 98 | return $this; |
||
| 99 | } |
||
| 100 | |||
| 101 | /** |
||
| 102 | * @return \DateTimeImmutable|null |
||
| 103 | */ |
||
| 104 | public function getDate() |
||
| 105 | { |
||
| 106 | return $this->date; |
||
| 107 | } |
||
| 108 | |||
| 109 | /** |
||
| 110 | * @param \DateTimeImmutable|null $date |
||
| 111 | * |
||
| 112 | * @return InvoiceInterface |
||
| 113 | */ |
||
| 114 | public function setDate($date) |
||
| 115 | { |
||
| 116 | $this->date = $date; |
||
| 117 | |||
| 118 | return $this; |
||
| 119 | } |
||
| 120 | |||
| 121 | /** |
||
| 122 | * @return bool|null |
||
| 123 | */ |
||
| 124 | public function getisPaid() |
||
| 125 | { |
||
| 126 | return $this->isPaid; |
||
| 127 | } |
||
| 128 | |||
| 129 | /** |
||
| 130 | * @param bool|null $isPaid |
||
| 131 | * |
||
| 132 | * @return InvoiceInterface |
||
| 133 | */ |
||
| 134 | public function setIsPaid($isPaid) |
||
| 135 | { |
||
| 136 | $this->isPaid = $isPaid; |
||
| 137 | |||
| 138 | return $this; |
||
| 139 | } |
||
| 140 | |||
| 141 | /** |
||
| 142 | * @return int|null |
||
| 143 | */ |
||
| 144 | public function getNumber() |
||
| 145 | { |
||
| 146 | return $this->number; |
||
| 147 | } |
||
| 148 | |||
| 149 | /** |
||
| 150 | * @param int|null $number |
||
| 151 | * |
||
| 152 | * @return InvoiceInterface |
||
| 153 | */ |
||
| 154 | public function setNumber($number) |
||
| 155 | { |
||
| 156 | $this->number = $number; |
||
| 157 | |||
| 158 | return $this; |
||
| 159 | } |
||
| 160 | |||
| 161 | /** |
||
| 162 | * @return null|string |
||
| 163 | */ |
||
| 164 | public function getState() |
||
| 165 | { |
||
| 166 | return $this->state; |
||
| 167 | } |
||
| 168 | |||
| 169 | /** |
||
| 170 | * @param null|string $state |
||
| 171 | * |
||
| 172 | * @return InvoiceInterface |
||
| 173 | */ |
||
| 174 | public function setState($state) |
||
| 175 | { |
||
| 176 | $this->state = $state; |
||
| 177 | |||
| 178 | return $this; |
||
| 179 | } |
||
| 180 | } |
||
| 181 |
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