mogilvie / EncryptBundle

Encryption bundle
89 stars 29 forks source link

Symfony 6.4 disabled annotations in framwork bundle and site crashed. #52

Closed asifkhanpathan closed 4 months ago

asifkhanpathan commented 6 months ago

in symfony 6.4 annotations are deprecated and disabled in framework but in SpecShaper\EncryptBundle\Command\EncryptDatabaseCommand service Doctrine\Common\Annotations\Reader is autoloading as annotationReader which is disabled result in site crashed with error

Cannot autowire service "SpecShaper\EncryptBundle\Command\EncryptDatabaseCommand": argument "$annotationReader" of method "__construct()" references interface "Doctrine\Common\Annotations\Reader" but no such service exists. Did you create a class that implements this interface?

mogilvie commented 4 months ago

Reader command made optional in next version.