You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------ -------------------------------------------------------------------------------------------------
Line src/Domain/MyDomain\MyClass.php
------ -------------------------------------------------------------------------------------------------
43 Domain\MyDomain\MyClass should not depend on Doctrine\DBAL\Types\Types
48 Domain\MyDomain\MyClass should not depend on Doctrine\DBAL\Types\Types
51 Domain\MyDomain\MyClass should not depend on Doctrine\DBAL\Types\Types
54 Domain\MyDomain\MyClass should not depend on Doctrine\DBAL\Types\Types
57 Domain\MyDomain\MyClass should not depend on Doctrine\DBAL\Types\Types
60 Domain\MyDomain\MyClass should not depend on Doctrine\DBAL\Types\Types
63 Domain\MyDomain\MyClass should not depend on Doctrine\DBAL\Types\Types
69 Domain\MyDomain\MyClass should not depend on Doctrine\Common\Collections\Collection
75 Domain\MyDomain\MyClass should not depend on Doctrine\Common\Collections\Collection
95 Domain\MyDomain\MyClass should not depend on Doctrine\Common\Collections\ArrayCollection
102 Domain\MyDomain\MyClass should not depend on Doctrine\Common\Collections\ArrayCollection
------ -------------------------------------------------------------------------------------------------
There is no mention of the import:
useDoctrine\ORM\MappingasORM;
Using a direct import also is not reported:
useDoctrine\ORM\Mapping\Column;
The text was updated successfully, but these errors were encountered:
I don't think imports should be reported. However, used attributes should, but the rule is still not created.
I will keep this issue open for that matter, as it's something I'm planning to do soon.
carlosas
changed the title
Attribute imports are not detected
Attributes are not detected
Dec 29, 2022
Hi!
I have a class in the Domain namespace, which has Doctrine's attributes for ORM mapping. My classes have the following imports:
With the test below:
I get:
There is no mention of the import:
Using a direct import also is not reported:
The text was updated successfully, but these errors were encountered: