Skip to content

Commit

Permalink
Allow Symfony 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Zales0123 committed Jan 5, 2022
1 parent 7633c95 commit c7651fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ php:
- 7.4
- 8.0

env:
- SYMFONY_VERSION=~4.3
- SYMFONY_VERSION=~5.0
- SYMFONY_VERSION=~6.0

before_script:
- phpenv config-rm xdebug.ini;
- composer require symfony/event-dispatcher:${SYMFONY_VERSION} --no-update --dev
- composer require symfony/property-access:${SYMFONY_VERSION} --no-update --dev
- composer require symfony/expression-language:${SYMFONY_VERSION} --no-update --dev
- composer --no-interaction --prefer-source install

script:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
],
"require": {
"php": "^7.1.3|^8.0",
"symfony/event-dispatcher": "^4.3|^5.0",
"symfony/property-access": "^4.3|^5.0",
"symfony/expression-language": "^4.3|^5.0"
"symfony/event-dispatcher": "^4.3|^5.0|^6.0",
"symfony/property-access": "^4.3|^5.0|^6.0",
"symfony/expression-language": "^4.3|^5.0|^6.0"
},
"suggest": {
"twig/twig": "Access the state machine in your twig templates (^2.10|^3.0)"
},
"require-dev": {
"phpspec/phpspec": "^5.0|^6.0",
"phpspec/phpspec": "^5.0|^6.0|^7.1",
"twig/twig": "^2.10|^3.0"
},
"autoload": {
Expand Down

0 comments on commit c7651fe

Please sign in to comment.