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

Deprecation with Symfony 6.4: Symfony\WebpackEncoreBundle\CacheWarmer\EntrypointCacheWarmer::doWarmUp() ... #227

Open
pierrealexaline opened this issue Feb 27, 2024 · 2 comments

Comments

@pierrealexaline
Copy link

Deprecation from Symfony 6.4| Profiler message :

The "Symfony\WebpackEncoreBundle\CacheWarmer\EntrypointCacheWarmer::doWarmUp()" method will require a new "string|null $buildDir" argument in the next major version of its parent class "Symfony\Bundle\FrameworkBundle\CacheWarmer\AbstractPhpFileCacheWarmer", not defining it is deprecated.

... un-comment the $builtDir argument dump an error, any suggestion ?

@brunobart
Copy link

In your composer.yml use
"symfony/webpack-encore-bundle": "^2.1",

@pierrealexaline
Copy link
Author

ok thanks, i try that tomorrow and close the issue.

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

No branches or pull requests

2 participants