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

Cannot find the key "$destinationModule" #14

Open
tom-combet opened this issue Apr 4, 2022 · 1 comment
Open

Cannot find the key "$destinationModule" #14

tom-combet opened this issue Apr 4, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@tom-combet
Copy link
Collaborator

Describe the bug
Described in symfony/maker-bundle#1089.

To Reproduce
Steps to reproduce the behavior:

  1. Launch any maker which usually create services.
  2. See that no services are created.

Expected behavior
It should parse the bind key correctly.

Screenshots
N/A.

Additional context
Need to be fixed on Symfony side.

@tom-combet tom-combet added the bug Something isn't working label Apr 4, 2022
@tom-combet
Copy link
Collaborator Author

tom-combet commented Jun 22, 2022

Should be fixed when upgrading to PHP 8 and new maker-bundle version.

It can be fixed atm by adding this code before line 687 in vendor/symfony/maker-bundle/src/Util/YamlSourceManipulator:

$key = ltrim($key, "$");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant