-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
after using this took, symfony is not finding my new php config files by default #37
Comments
Adding those lines to however, now my phpunit fails before running any tests with:
I'm still trying to figure this one out. It may be coming from the following in
EDITresolved by converting above to:
|
nevermind, I see the a answer to my main question here: https://symfony.com/doc/5.x/configuration.html#configuration-formats |
I'm glad you've found the solution 👍 Yes, the Kernel needs to be updated as Symfony unfortunatelly hardcodes the config loading format. It's in the section 3 of the post: |
@TomasVotruba have you struggled with yaml config options that are straight up missing or unavaialle in PHP? I've run into at least three so far, all on the FirewallConfig, and I presume there are many more. Example: symfony/symfony#53987 |
Not yet, as afaik the configs are generated from your current Symfony version. |
my issue is confirmed and the fix is working for me :) symfony/symfony#53989 The bug is causing the generated cached config files to be incomplete |
Symdony 5.4
config structure
config/
--services.php
--packages/
----a.php
----b.php
----...
--routes/
----...
behavior
service.php
is imported here. But the code block above that handles importingconfig/packages/*
only handles yaml files. Likewise with routing, despite the docblock indicating{yaml,php}
.I can import the files manually, by adding the following to my
config/services.php
, for example:Am I doing this right, or missing something? Does symfony not support these types of php config files out of the box?
I know you talk about adding loader logic in your blog post here, but I don't have any such extension and am not entirely sure where you are using this extension.
Thanks for yet another cool tool @TomasVotruba !
The text was updated successfully, but these errors were encountered: