Skip to content

Symfony 4.2 compatibility fix

Compare
Choose a tag to compare
@rvanlaak rvanlaak released this 15 May 10:43
· 98 commits to master since this release
Create TreeBuilder with root defined. (#44)

* Create TreeBuilder with root defined.

Fix for 'A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.'

* Add support for symfony < 4.2

The BC layer is taken from https://github.com/KnpLabs/KnpPaginatorBundle/commit/740b876d61b46de767e457b8b0f0850f3f323dea#diff-850942b3ba24ab03a40aaa81b6152852