Skip to content

Commit

Permalink
Add support for Symfony 6 (#18)
Browse files Browse the repository at this point in the history
* Add support for Symfony 6

* Make sure SF6 is installable

* Include Symfony 6 differently

* Syntax fix
  • Loading branch information
Nyholm authored Aug 20, 2021
1 parent 8da1c44 commit bf474ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
matrix:
php: [ '7.2', '7.3', '7.4', '8.0']
sf_version: [ '4.4.*', '5.3.*' ]
include:
- php: 8.0
sf_version: '6.0.*'

steps:
- name: Set up PHP
Expand Down
12 changes: 7 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"require": {
"php": ">=7.2",
"friendsofphp/proxy-manager-lts": "^1.0",
"symfony/config": "^4.4 || ^5.1",
"symfony/dependency-injection": "^4.4 || ^5.1",
"symfony/http-kernel": "^4.4 || ^5.1"
"symfony/config": "^4.4 || ^5.1 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.1 || ^6.0",
"symfony/http-kernel": "^4.4 || ^5.1 || ^6.0"
},
"require-dev": {
"nyholm/symfony-bundle-test": "^1.6",
"symfony/phpunit-bridge": "^4.4 || ^5.2"
"symfony/phpunit-bridge": "^5.3"
},
"autoload": {
"psr-4": {
Expand All @@ -34,5 +34,7 @@
"psr-4": {
"Happyr\\ServiceMocking\\Tests\\": "tests/"
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit bf474ca

Please sign in to comment.