DoctrineEncryptBundle icon indicating copy to clipboard operation
DoctrineEncryptBundle copied to clipboard

Symfony 6 compatibility

Open genseirin opened this issue 3 years ago • 2 comments

I get the following error: Compile Error: Declaration of Ambta\DoctrineEncryptBundle\AmbtaDoctrineEncryptBundle::getContainerExtension() must be compatible with Symfony\Component\HttpKernel\Bundle\Bundle::getContainerExtension(): ?Symfony\Component\DependencyInjection\Extension\ExtensionInterface

michaeldegroot/doctrine-encrypt-bundle 3.0.3, Symfony 6.0

genseirin avatar Nov 04 '22 09:11 genseirin

Any reason why you need to use version 3.0.3 from May 20, 2017?

Also see these comments:

  • https://github.com/absolute-quantum/DoctrineEncryptBundle/pull/65#issuecomment-1476301156
  • https://github.com/absolute-quantum/DoctrineEncryptBundle/pull/65#issuecomment-1638006829

r3hp1c avatar Jul 17 '23 12:07 r3hp1c

Any reason why you need to use version 3.0.3 from May 20, 2017?

It's not needed, but the documentation recommended it. I haven't checked for higher versions since I installed it.

With michaeldegroot/doctrine-encrypt-bundle": "5.1.*" the error is gone. So you can close that issue and maybe clarify it in the docs.

genseirin avatar Jul 19 '23 09:07 genseirin