mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 08:34:11 +03:00
Merge pull request #176 from J-Fricke/php7
Implement PHP7 compatibility
This commit is contained in:
commit
9213453bc3
@ -18,8 +18,8 @@
|
||||
"source": "https://github.com/mibew/mibew"
|
||||
},
|
||||
"require": {
|
||||
"xamin/handlebars.php": "0.10.*",
|
||||
"justblackbird/handlebars.php-helpers": "~0.2.1",
|
||||
"xamin/handlebars.php": "~0.10.3",
|
||||
"justblackbird/handlebars.php-helpers": "1.*",
|
||||
"symfony/http-foundation": "2.6.*",
|
||||
"symfony/routing": "2.6.*",
|
||||
"symfony/config": "2.6.*",
|
||||
|
@ -47,9 +47,9 @@ class Helpers extends BaseHelpers
|
||||
$this->add('ifAny', new HandlebarsHelpers\Comparison\IfAnyHelper());
|
||||
$this->add('ifEven', new HandlebarsHelpers\Comparison\IfEvenHelper());
|
||||
$this->add('ifOdd', new HandlebarsHelpers\Comparison\IfOddHelper());
|
||||
$this->add('repeat', new HandlebarsHelpers\String\RepeatHelper());
|
||||
$this->add('replace', new HandlebarsHelpers\String\ReplaceHelper());
|
||||
$this->add('cutString', new HandlebarsHelpers\String\TruncateHelper());
|
||||
$this->add('repeat', new HandlebarsHelpers\Text\RepeatHelper());
|
||||
$this->add('replace', new HandlebarsHelpers\Text\ReplaceHelper());
|
||||
$this->add('cutString', new HandlebarsHelpers\Text\TruncateHelper());
|
||||
$blocks = new HandlebarsHelpers\Layout\BlockStorage();
|
||||
$this->add('extends', new HandlebarsHelpers\Layout\ExtendsHelper($blocks));
|
||||
$this->add('block', new HandlebarsHelpers\Layout\BlockHelper($blocks));
|
||||
|
Loading…
Reference in New Issue
Block a user