The `Twig_Node_Expression_ExtensionReference` class is deprecated since version 1.23 and will be removed in 2.0. There's no replacement defined in http://twig.sensiolabs.org/doc/deprecated.html so a solution needs to be discovered.