I'm using Symfony 4.4.2
When I run the server using the server bundle...
./bin/console server:run
...I get a deprecation warning:
User Deprecated: Using the WebserverBundle is deprecated since Symfony 4.4. The new Symfony local server has more features, you can use it instead.
So I installed the Symfony local server and now I'm using it:
symfony server:start --no-tls
However, the deprecation persists.
Why?
You have included the WebserverBundle bundle in your project, but this bundle will be deprecated past Symfony 4.4. As Cerad explained, the bundle itself is fine and you can still use it for now, but it simply means that you won't be able to use it anymore if you update your project to Symfony 5.
If you don't use the bundle and want to get rid of the deprecation message, simply run the following command:
composer remove symfony/web-server-bundle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With