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

Environment Variable not combinable with raw text in phpstan.neon #10727

Closed
EldoranDev opened this issue Mar 15, 2024 · 4 comments
Closed

Environment Variable not combinable with raw text in phpstan.neon #10727

EldoranDev opened this issue Mar 15, 2024 · 4 comments

Comments

@EldoranDev
Copy link

Bug report

Currently setting the symfony.containerXmlPath parameter to %env.APP_CACHE_DIR%/dev/App_KernelDevDebugContainer.xml in version 1.10.57 this does work and the used value for the parameter machtes the combination of both.

When upgrading phpstan to a version greater than 1.10.58 the parsing seems to fail and phpstan reports that the configuration is invalid and the parameter is missing.

Code snippet that reproduces the problem

No response

Expected output

The Parameter should still be a concatenation of both the environment variable as well as the plain text after upgrading.

Did PHPStan help you today? Did it make you happy in any way?

No response

Copy link

mergeable bot commented Mar 15, 2024

This bug report is missing a link to reproduction at phpstan.org/try.

It will most likely be closed after manual review.

@ondrejmirtes
Copy link
Member

I reverted the dependency update responsible for this: phpstan/phpstan-src@969ff31

Let me know if it works for you :)

@EldoranDev
Copy link
Author

This seems to work 👍

Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants