Category: deprecated

Support for mapping keys in multi-line blocks is deprecated since Symfony 4.3 and will throw a ParseException in 5.0

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…

Depraction warning loading file assets from src is deprecated

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…

Symfony 4.4 deprecation warning for multiple clients in user test is deprecated, still present in documentation

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…