Skip to content

Conversation

SCIF
Copy link
Contributor

@SCIF SCIF commented Dec 25, 2016

Fixed some deprecations and limited min version of twig 1.27+. Should fix #291.Replaces #290.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 2da74cf on SCIF:twig_127 into ** on rcrowe:master**.

protected function handleTwigError(Twig_Error $ex)
{
$templateFile = $ex->getTemplateFile();
$templateFile = $ex->getSourceContext()->getPath();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this possible for all exceptions?

@barryvdh barryvdh merged commit fda1efa into rcrowe:master Dec 25, 2016
@brunogaspar
Copy link
Contributor

This PR broke the package, at least for me.

Type error: Argument 1 passed to Twig_Loader_Chain::addLoader() must implement interface Twig_LoaderInterface, instance of TwigBridge\Twig\Loader given, called in /../app/vendor/twig/twig/lib/Twig/Loader/Chain.php on line 30

twig/twig: v1.30.0
rcrowe/TwigBridge: dev-master fda1efa

@barryvdh
Copy link
Collaborator

Rwveeted

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.

FatalErrorException in Loader.php

4 participants