Skip to content
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

Bundle breaks application if Symfony Console not installed #914

Merged
merged 1 commit into from
Sep 13, 2021
Merged

Bundle breaks application if Symfony Console not installed #914

merged 1 commit into from
Sep 13, 2021

Conversation

yivi
Copy link
Contributor

@yivi yivi commented Aug 26, 2021

Since the console command services are loaded only if Symfony\Component\Console\Application exists, and later the extension attempts to modify the service defintion for lexik_jwt_authentication.generate_keypair_command (which would not be defined if Symfony Console is not installed), it can lead to breakage if Symfony Console is not installed.

Moved both loading the services configuration file and the definition change to the same conditional.

…hanges for the 'lexik_jwt_authentication.generate_keypair_command' service within the same conditional
@chalasr
Copy link
Collaborator

chalasr commented Sep 13, 2021

Thank you @yivi.

@chalasr chalasr merged commit 9847bbd into lexik:2.x Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants