symfony / orm-pack

A Symfony Pack for Doctrine ORM
MIT License
1.82k stars 18 forks source link

Lots of deprecations #19

Closed onokje closed 4 years ago

onokje commented 4 years ago

Using this pack gives me tons of deprecation warnings in combination with symfony 5. It's hard to figure out what i need to update, if anything.

Examples:

User Deprecated: The Doctrine\Common\Persistence\Proxy class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\Proxy instead.

User Deprecated: The Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\Mapping\AbstractClassMetadataFactory instead.

User Deprecated: The Doctrine\Common\PropertyChangedListener class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\PropertyChangedListener instead.

Also since last update:

Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.

I understand that this is not directly related to this pack, but any tips are welcome :)

nicolas-grekas commented 4 years ago

Wrong repo, this one is not the culprit.

onokje commented 4 years ago

Thank you for your help.

nicolas-grekas commented 4 years ago

Check https://github.com/doctrine/orm/pull/7953