I installed SonataAdminBundle and SonataAdminORMBundle. And created basic CategoryAdmin as mentioned in docs.
it gives deprecations:
2020-06-23T15:22:35+02:00 [info] User Deprecated: The "console.command.public_alias.Sonata\CoreBundle\Command\SonataDumpDoctrineMetaCommand" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0.
2020-06-23T15:22:35+02:00 [info] User Deprecated: The "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" class is deprecated since Symfony 4.2, use "Symfony\Component\Console\Command\Command" with dependency injection instead.
2020-06-23T15:22:35+02:00 [info] User Deprecated: The "console.command.public_alias.Sonata\CoreBundle\Command\SonataListFormMappingCommand" service is deprecated since sonata-project/core-bundle 3.19 and will be removed in 4.0.
I installed SonataAdminBundle and SonataAdminORMBundle. And created basic CategoryAdmin as mentioned in docs.
it gives deprecations:
Environment
Sonata packages
Symfony packages
PHP version
How can I fix them?
TIA