-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with lint command and cache.adapter.redis after upgrade to 5.4.0 #44515
Comments
I'm on it. |
My bad @chalasr, it's only on v6.0.0 that the problem occurs. |
@lugosium No worries, I guessed it as the real type declaration has only been introduced on 6.0. |
Does it affect only |
It's only the lint command, everything else work correctly. |
…ypeDeclarationsPass if it's a Definition with a factory (fancyweb) This PR was merged into the 4.4 branch. Discussion ---------- [DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | #35599, #44515 | License | MIT | Doc PR | - When a definition uses a factory, we don't know what it returns. Commits ------- b9095e6 [DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory
…ypeDeclarationsPass if it's a Definition with a factory (fancyweb) This PR was merged into the 4.4 branch. Discussion ---------- [DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | symfony/symfony#35599, symfony/symfony#44515 | License | MIT | Doc PR | - When a definition uses a factory, we don't know what it returns. Commits ------- b9095e6c09 [DependencyInjection] Ignore argument type check in CheckTypeDeclarationsPass if it's a Definition with a factory
Thank you everybody. |
Symfony version(s) affected
6.0.0
Description
After upgrading to 5.4.0, everything is working fine except the lint command which gives:
How to reproduce
Use redis as cache for system and app:
Launch lint command:
./bin/console --env dev lint:container
Possible Solution
No response
Additional Context
If i comment app and system keys, it's OK with the default values.
The text was updated successfully, but these errors were encountered: