liip / LiipFunctionalTestBundle

Some helper classes for writing functional tests in Symfony

Home Page:http://liip.ch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Current usage of TreeBuilder::root method is deprecated

javiereguiluz opened this issue · comments

Sorry if this was reported earlier, but I can't find any issue or PR.

Steps to reproduce

  1. Upgrade to Symfony 4.3 and you'll see this deprecation message:
The "Symfony\Component\Config\Definition\Builder\TreeBuilder::root()"
method called for the "liip_functional_test" configuration is deprecated 
since Symfony 4.3, pass the root name to the constructor instead.

This is something all Symfony bundles must fix. Here are some examples of how to do it:

It should have been fixed in #478, I'll see why there's still a deprecation.


Edit: no, it was for Symfony 4.1.

Closing as fixe by the linked PR. Thanks.