-
Hi π , After upgrade from 6.2 to 6.3, my lint container is not working anymore. I got:
I searched in the changelog but i didn't anything related. If you have any hints! Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
You reported on #50509 (comment) some days ago; didnβt #50585 solve your issue? If not, please provide a reproducer. |
Beta Was this translation helpful? Give feedback.
-
Anyone using Redis as cache can launch |
Beta Was this translation helpful? Give feedback.
-
Ok after digging more, i found out that .env.dev: But I don't understand why π€ |
Beta Was this translation helpful? Give feedback.
Thanks for the stack, but I see you edited your post to remove a repositoryβs configuration and itβs part of the problem, because youβre using the expression language. Youβre rather supposed to extend
ServiceEntityRepository
, but letβs continue anyway.lint:container
will only run one compiler pass: theCheckTypeDeclarationPass
, which must evaluate expressions to do its job. Because your expression callsEntityManagerInterface::getClassMetadata
, the entity manager has to be instantiated as well as all its arguments, recursively (because it has to be fully functional to be used). Among these arguments is aConfiguration
which can store some cache implementations.Now, from your post above β¦