Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using ArrayAccess on Doctrine\ORM\Mapping\JoinColumnMapping is deprecated #6215

Closed
KDederichs opened this issue Mar 20, 2024 · 0 comments · Fixed by #6216
Closed

Using ArrayAccess on Doctrine\ORM\Mapping\JoinColumnMapping is deprecated #6215

KDederichs opened this issue Mar 20, 2024 · 0 comments · Fixed by #6216

Comments

@KDederichs
Copy link
Contributor

Describe the bug
We'll likely have a good while but I thought I'd open a ticket for it anyways:

It seems that array access on JoinColumnMapping has been deprecated and is now throwing warnings:

Using ArrayAccess on Doctrine\ORM\Mapping\JoinColumnMapping is deprecated and will not be possible in Doctrine ORM 4.0. Use the corresponding property instead. (ArrayAccessImplementation.php:18 called by CommonPreConfigurator.php:201, https://github.com/doctrine/orm/pull/11211, package doctrine/orm)

Using ArrayAccess on Doctrine\ORM\Mapping\JoinColumnMapping is deprecated and will not be possible in Doctrine ORM 4.0. Use the corresponding property instead. (ArrayAccessImplementation.php:18 called by EntityConfigurator.php:43, https://github.com/doctrine/orm/pull/11211, package doctrine/orm)

Probably easily fixable by checking if it's an array or JoinColumnMapping

To Reproduce
Use Easy Admin with ORM 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant