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 in AccountControllerTest::testPageUser from AppTestsController

I have absolutely no clue what this means.

testSettings from AppTestsController:

    public function testSettings() {
    $crawler = self::$userClient->request('GET', '/nl/account/settings.html');
    $this->assertSuccesfulResponse(self::$userClient->getResponse());
    $crawler = $this->form(self::$userClient, $crawler, 'submit', array(), '//nl/account/');
}

Thanks in advance!

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *