Skip to content

Commit

Permalink
Support Symfony 6 (#227)
Browse files Browse the repository at this point in the history
Co-authored-by: Farhad Safarov <[email protected]>
  • Loading branch information
chalasr and seferov authored Dec 2, 2021
1 parent b1f0aac commit d6be2fb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@v1
with:
dependency-versions: ${{ matrix.dependencies }}
dependency-versions: ${{ matrix.dependencies }}

- name: "Cache cache directory for vimeo/psalm"
uses: actions/cache@v1
Expand Down Expand Up @@ -75,10 +75,21 @@ jobs:
symfony-version:
- 4
- 5
- 6

exclude:
- php-version: 7.1
symfony-version: 5
- php-version: 7.1
symfony-version: 6
- php-version: 7.2
symfony-version: 6
- php-version: 7.3
symfony-version: 6
- php-version: 7.4
symfony-version: 6
- php-version: 7.1
symfony-version: 6
- php-version: 8.0
symfony-version: 3

Expand Down
15 changes: 8 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
"require": {
"php": "^7.1 || ^8.0",
"ext-simplexml": "*",
"symfony/framework-bundle": "^4.0 || ^5.0",
"vimeo/psalm": "^4.11"
"symfony/framework-bundle": "^4.0 || ^5.0 || ^6.0",
"vimeo/psalm": "^4.12"
},
"require-dev": {
"symfony/form": "^4.0 || ^5.0",
"symfony/form": "^4.0 || ^5.0 || ^6.0",
"doctrine/orm": "^2.7",
"phpunit/phpunit": "~7.5 || ~9.5",
"symfony/cache-contracts": "^1.0 || ^2.0",
"symfony/console": "*",
"symfony/messenger": "^4.2 || ^5.0",
"symfony/security-guard": "^4.0 || ^5.0",
"symfony/serializer": "^4.0 || ^5.0",
"symfony/messenger": "^4.2 || ^5.0 || ^6.0",
"symfony/security-guard": "*",
"symfony/serializer": "^4.0 || ^5.0 || ^6.0",
"symfony/validator": "*",
"twig/twig": "^2.10 || ^3.0",
"weirdan/codeception-psalm-module": "^0.13.1"
Expand Down Expand Up @@ -66,5 +66,6 @@
},
"suggest": {
"weirdan/doctrine-psalm-plugin": "If Doctrine is used, it is recommended install this plugin"
}
},
"minimum-stability": "beta"
}

0 comments on commit d6be2fb

Please sign in to comment.