Skip to content

Commit

Permalink
Merge pull request #15 from inoas/twig2
Browse files Browse the repository at this point in the history
Allow Twig ^2.0 / PHP 7 as well as Twig ^1.12 / PHP 5.6
  • Loading branch information
jasny authored Sep 13, 2017
2 parents 7230fc2 + 6dd971f commit 30bdf3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"source": "https://github.com/jasny/twig-extensions"
},
"require": {
"php": ">=5.6.0",
"twig/twig": "^1.0"
"php": ">=7.0.0 | >=5.6.0",
"twig/twig": "^2.0 | ^1.12"
},
"suggest": {
"ext-intl": "Required for the use of the LocalDate Twig extension",
Expand All @@ -31,7 +31,8 @@
"require-dev": {
"ext-intl": "*",
"ext-pcre": "*",
"jasny/php-code-quality": "^2.1"
"jasny/php-code-quality": "^2.1",
"phpunit/phpunit": "^5.0"
},
"autoload-dev": {
"classmap": [
Expand Down

0 comments on commit 30bdf3a

Please sign in to comment.