Skip to content

Commit

Permalink
Merge branch 'srggroup'
Browse files Browse the repository at this point in the history
  • Loading branch information
adambalint-srg committed Nov 5, 2016
2 parents a932aa7 + 26c06de commit 277112b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 63 deletions.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
{
"name": "Pablo Díez",
"email": "[email protected]"
},
{
"name": "Ádám Bálint",
"email": "[email protected]"
}
],
"require": {
"php": "^5.6.0",
"php": "^5.6",
"twig/twig": "^1.2"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Mandango/Mondator/ClassExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ public function getTwig()
throw new \RuntimeException('Twig is required to use templates.');
}

$loader = new StringLoader();
$loader = new \Twig_Loader_String();
$twig = new \Twig_Environment($loader, array(
'autoescape' => false,
'strict_variables' => true,
Expand Down
61 changes: 0 additions & 61 deletions src/Mandango/Mondator/StringLoader.php

This file was deleted.

0 comments on commit 277112b

Please sign in to comment.