-
Notifications
You must be signed in to change notification settings - Fork 74
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
Invalid definition for service "Auth0\Symfony\Controllers\AuthenticationController": #189
Comments
@evansims any chance you can approve/merge this PR? |
Is there a way I can manually apply this patch to my installation? |
@edent you can try switching over to |
### Changes Fix for issue #189 - Removed `$container` parameter from controllers (because it is injected via `setContainer()` by Symfony DI) - Added exception in psalm config not to report this as a problem ### References #189 ### Testing Tested statically and on a Symfony 7.0 project (although controllers are not executed there - verified that container builds without problems and `bin/console list:container` reports no problems) Tested only statically on Symfony 6.4. Testing on older Symfony versions would be much appreciated. [ ] This change adds test coverage [x] This change has been tested on the latest version of Symfony ### Checklist [x] I have read the [Auth0 general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md) [x] I have read the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md) [x] All existing and new tests complete without errors Co-authored-by: Evan Sims <[email protected]>
The fix has shipped as part of 5.3.0; thanks for your work on this, as well as your other contributions, @mkilmanas. Much appreciated! |
Checklist
Description
When I run following command :
I have this error:
Reproduction
bundles.php
filephp bin/console lint:container
Additional context
No response
jwt-auth-bundle version
5.2.3
Symfony version
6.4
PHP version
8.3
The text was updated successfully, but these errors were encountered: