1 | <?php |
||
2 | |||
3 | namespace Doctrine\Tests\Models\DDC2372\Traits; |
||
4 | |||
5 | trait DDC2372AddressTrait |
||
6 | { |
||
7 | /** |
||
8 | * @OneToOne(targetEntity="Doctrine\Tests\Models\DDC2372\DDC2372Address", inversedBy="user") |
||
9 | * @JoinColumn(name="address_id", referencedColumnName="id") |
||
10 | */ |
||
11 | private $address; |
||
12 | |||
13 | public function getAddress() |
||
14 | { |
||
15 | return $this->address; |
||
16 | } |
||
17 | |||
18 | public function setAddress(Address $address) |
||
0 ignored issues
–
show
|
|||
19 | { |
||
20 | if ($this->address !== $address) { |
||
21 | $this->address = $address; |
||
22 | $address->setUser($this); |
||
23 | } |
||
24 | } |
||
25 | } |
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