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
using this library in a PHP 8.1 and Symfony 5.4 project, I've had to work around this Issue:
In DoctrineAdapter.php line 110:
Cannot adapt Doctrine driver of class Doctrine\ORM\Mapping\Driver\AttributeDriver
The DriverChain in my project contains regular annotation drivers as well, and a hackaround to get rid of the error seems to result in the usual and desired behaviour:
If I understand correctly, the best way to resolve this would be by actually supporting PHP8 attributes while maintaining support for annotations. Is that correct?
I could try to provide a minimal repoduction repository.
Thanks & Greetings
Barthy
The text was updated successfully, but these errors were encountered:
Dear Prezent Team,
using this library in a PHP 8.1 and Symfony 5.4 project, I've had to work around this Issue:
The
DriverChain
in my project contains regular annotation drivers as well, and a hackaround to get rid of the error seems to result in the usual and desired behaviour:If I understand correctly, the best way to resolve this would be by actually supporting PHP8 attributes while maintaining support for annotations. Is that correct?
I could try to provide a minimal repoduction repository.
Thanks & Greetings
Barthy
The text was updated successfully, but these errors were encountered: