Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix symfony 42 deprecation #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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
composer.json Outdated Show resolved Hide resolved
@@ -17,8 +17,7 @@ class Configuration implements ConfigurationInterface
*/
public function getConfigTreeBuilder()
{
$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