Skip to content

Fix symfony 42 deprecation#15

Open
ppm1337 wants to merge 4 commits intoElma:masterfrom
enloc-port:fix-symfony-42-deprecation
Open

Fix symfony 42 deprecation#15
ppm1337 wants to merge 4 commits intoElma:masterfrom
enloc-port:fix-symfony-42-deprecation

Conversation

@ppm1337
Copy link

@ppm1337 ppm1337 commented Jun 14, 2020

Please merge this PR to resolve the Symfony 4.2 user deprecation mentioned in the commit message.

Jan Gähler and others added 3 commits June 8, 2020 16:12
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('bilendi_dev_express');
$treeBuilder = new TreeBuilder('bilendi_dev_express');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This way of using the first argument of constructor as the root node is a 4.X feature an thus not complient with SF2.X or 3.X, please can you use the same trick as they do in the fosuserbundle : https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/DependencyInjection/Configuration.php#L36
(and sorry for the delay)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants