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
Not sure if i should put it here or into doctrine/orm as it seems like compatibility problem.
Q
A
doctrine\doctrine-bundle
2.13.1
doctrine\orm
3.3.0
Summary
We have a private bundle, that we're reusing on multiple projects. This bundle provides some entities with mapping. Within this bundle we're calling DoctrineOrmMappingsPass to register bundle's entities mapping:
Currently app crashes hard with \InvalidArgumentException
The $reportFieldsWhereDeclared argument is no longer supported, make sure to omit it when calling Doctrine\ORM\Mapping\Driver\AttributeDriver::__construct.
Expected behavior
It probably should not crash)
As soon as its going to be omitted by doctrine\orm we would like to avoid pass reportFieldsWhereDeclared from bundle.
How to reproduce
Its quite simple:
doctrine/orm version > 3
latest doctrine/doctrine-bundle
call DoctrineOrmMappingsPass to add mapping by attributes - for example like following:
Bug Report
Not sure if i should put it here or into doctrine/orm as it seems like compatibility problem.
Summary
We have a private bundle, that we're reusing on multiple projects. This bundle provides some entities with mapping. Within this bundle we're calling DoctrineOrmMappingsPass to register bundle's entities mapping:
Current behavior
Currently app crashes hard with \InvalidArgumentException
The $reportFieldsWhereDeclared argument is no longer supported, make sure to omit it when calling Doctrine\ORM\Mapping\Driver\AttributeDriver::__construct.
Expected behavior
It probably should not crash)
As soon as its going to be omitted by doctrine\orm we would like to avoid pass reportFieldsWhereDeclared from bundle.
How to reproduce
Its quite simple:
The text was updated successfully, but these errors were encountered: