Category : deprecated

I have a problem. After updating to Symfony 4.4 I got the following deprecation warning Support for mapping keys in multi-line blocks is deprecated since Symfony 4.3 and will throw a ParseException in 5.0. 2x in AccountControllerTest::testSettings from AppTestsController 1x in AccountControllerTest::testPageUser from AppTestsController I have absolutely no clue what this means. testSettings from AppTestsController: ..

Read more

I have stuff like @import ‘../assets/scss/WebsiteBundle/font.scss’; in scss/WebsiteBundle/default.scss, however, since Symfony 4.4 I get the following depracitation warning. Loading the file “../assets/../_photo.scss” from the global resource directory “…/src” is deprecated since Symfony 4.4 and will be removed in 5.0. I can’t seem to find anything in the documentation about this. Can someone help me? Source: ..

Read more

Symfony version(s) affected: 4.4.0 Description After upgrading to Symfony 4.4.0 I got the following deprecation warning: Calling “SymfonyBundleFrameworkBundleTestWebTestCase::createClient()” while a kernel has been booted is deprecated since Symfony 4.4 and will throw in 5.0, ensure the kernel is shut down before calling the method. However, I do the same as in the documentation (https://symfony.com/doc/current/testing/insulating_clients.html), this ..

Read more