Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Twig version upgraded to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Jan 5, 2017
1 parent 3e17cb7 commit 63e3207
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"require": {
"php": "^7.0",
"mattketmo/camel": "~1.1",
"twig/twig": "~1.24.0",
"twig/extensions": "^1.3"
"twig/twig": "^2.0",
"twig/extensions": "^1.4"
},
"suggest": {
"league/plates": "3.* for Plates Templating Engine",
Expand Down
1 change: 0 additions & 1 deletion src/ExtensionsAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ protected function loadFunctions()
{
$this->extendForTranslation();
$this->extendForWidget();
$this->extendForPagination();
$this->extendForSiteUrl();
$this->extendForGetUrl();
$this->extendForQueryParams();
Expand Down
2 changes: 1 addition & 1 deletion src/Twig/Twig.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Twig implements ViewInterface
private $config = [
'templates_dir' => '',
'cache_dir' => '',
'debug' => true,
'debug' => false,
'auto_reload' => true

];
Expand Down
2 changes: 1 addition & 1 deletion test/TwigTest/TwigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class myTwigClass extends \PHPUnit_Framework_TestCase
'param2' => 2,
'param3' => 3
];
private $view = null;
private $view;

public function setUp()
{
Expand Down

0 comments on commit 63e3207

Please sign in to comment.