symfony / webpack-encore-bundle

Symfony integration with Webpack Encore!
https://symfony.com/webpack-encore
MIT License
933 stars 83 forks source link

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

Open pierrealexaline opened 6 months ago

pierrealexaline commented 6 months ago

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 commented 6 months ago

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

pierrealexaline commented 6 months ago

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