Skip to content

Commit

Permalink
Allow use Twig 3
Browse files Browse the repository at this point in the history
use PHPUnit 6.5 for Twig 3

require symfony/yaml for load services config file
  • Loading branch information
peter-gribanov committed Mar 19, 2020
1 parent 7e15e75 commit b8510ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ jobs:
php: 7.1

- stage: Test
env: PHPUNIT_VERSION=6.5.*
php: 7.2

- stage: Test
env: PHPUNIT_VERSION=6.5.*
php: 7.3

- stage: Test Symfony
Expand Down Expand Up @@ -91,6 +93,10 @@ jobs:
env: TWIG_VERSION=2.*
php: 7.0

- stage: Test Twig
env: TWIG_VERSION=3.* PHPUNIT_VERSION=6.5.*
php: 7.2

- stage: Test SensioFrameworkExtraBundle
env: SENSIO_FRAMEWORK=3.*
php: 5.5
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
"symfony/expression-language": "~2.3|~3.0|~4.0|~5.0",
"symfony/config": "~2.3|~3.0|~4.0|~5.0",
"symfony/routing": "~2.3|~3.0|~4.0|~5.0",
"symfony/yaml": "~2.3|~3.0|~4.0|~5.0",
"sensio/framework-extra-bundle": "~3.0|~4.0|~5.0",
"doctrine/orm": "~2.4|~2.5|~2.6",
"twig/twig": "^1.34|^2.0"
"twig/twig": "^1.34|^2.0|^3.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36"
Expand Down

0 comments on commit b8510ca

Please sign in to comment.