Skip to content

Commit

Permalink
Update symfony dependencies to 6&7
Browse files Browse the repository at this point in the history
  • Loading branch information
mleczakm authored and chalasr committed Dec 29, 2023
1 parent 15fe7b5 commit 63e3ee5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push: ~
schedule:
# Do not make it the first of the month and/or midnight since it is a very busy time
- cron: "* 10 5 * *"
- cron: "10 10 5 * *"

jobs:
tests:
Expand All @@ -18,13 +18,21 @@ jobs:
# Lowest Deps
- php: 8.1
symfony: 5.4.*
composer-flags: '--prefer-stable'
composer-flags: '--prefer-lowest --prefer-stable'
can-fail: false
# Stable deps
- php: 8.2
symfony: 6.3.*
composer-flags: '--prefer-stable'
can-fail: false
- php: 8.2
symfony: 6.4.*
composer-flags: '--prefer-stable'
can-fail: false
- php: 8.2
symfony: 7.0.*
composer-flags: '--prefer-stable'
can-fail: false

name: "PHP ${{ matrix.php }} - Symfony ${{ matrix.symfony }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}"

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
"league/oauth2-server": "^8.3",
"nyholm/psr7": "^1.4",
"psr/http-factory": "^1.0",
"symfony/event-dispatcher": "^5.4|^6.2",
"symfony/framework-bundle": "^5.4|^6.2",
"symfony/event-dispatcher": "^5.4|^6.2|^7.0",
"symfony/framework-bundle": "^5.4|^6.2|^7.0",
"symfony/polyfill-php81": "^1.22",
"symfony/psr-http-message-bridge": "^2.0|^6|^7",
"symfony/security-bundle": "^5.4|^6.2"
"symfony/security-bundle": "^5.4|^6.2|^7.0"
},
"require-dev": {
"ext-pdo": "*",
"ext-pdo_sqlite": "*",
"symfony/browser-kit": "^5.4|^6.2",
"symfony/phpunit-bridge": "^5.4|^6.2"
"symfony/browser-kit": "^5.4|^6.2|^7.0",
"symfony/phpunit-bridge": "^5.4|^6.2|^7.0"
},
"autoload": {
"psr-4": { "League\\Bundle\\OAuth2ServerBundle\\": "src/" }
Expand Down

0 comments on commit 63e3ee5

Please sign in to comment.