A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
As your bundle is used in multiple symfony versions, I added check against symfony kernel version to load correct treebuilder initialization to remove deprication notice
A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
As your bundle is used in multiple symfony versions, I added check against symfony kernel version to load correct treebuilder initialization to remove deprication notice