Limenius / ReactBundle

Client and Server-side React.js rendering in a Symfony Bundle
MIT License
390 stars 53 forks source link

[Symfony 4.2] Update dependency injection configuration #40

Closed k0d3r1s closed 4 years ago

k0d3r1s commented 5 years ago

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

nacmartin commented 4 years ago

@k0d3r1s thanks for this one. Sorry if this took some time :P Closed in favour of https://github.com/Limenius/ReactBundle/pull/46