Skip to content

Commit

Permalink
Add support for Symfony 6
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Mar 8, 2024
1 parent 13b1216 commit 6696458
Show file tree
Hide file tree
Showing 7 changed files with 1,044 additions and 1,383 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@ env:

jobs:
unit-tests:
name: Tests for php${{ matrix.php-versions }}
name: Tests for php${{ matrix.php-versions }} ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
composer-command: ['install']
include:
- php-versions: '8.1'
composer-command: 'update --prefer-lowest --prefer-dist --prefer-stable --no-interaction'
name: prefer-lowest
steps:
- name: Set up php${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
Expand All @@ -31,7 +36,7 @@ jobs:
key: composer-cache
- name: Unit tests
run: |
composer install
composer ${{ matrix.composer-command }}
composer test
linting:
name: Linting
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.2.9

* Add support for Symfony 6

## v0.2.8

* Drop support for PHP 7.4/8.0
22 changes: 11 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@
"php": ">=8.1",
"ext-json": "*",
"api-platform/core": "^2.7.11",
"dbp/relay-core-bundle": "^0.1.142",
"symfony/config": "^5.4",
"symfony/framework-bundle": "^5.4",
"symfony/http-foundation": "^5.4",
"symfony/http-kernel": "^5.4",
"symfony/dependency-injection": "^5.4"
"dbp/relay-core-bundle": "^0.1.148",
"symfony/config": "^5.4 || ^6.4",
"symfony/framework-bundle": "^5.4 || ^6.4",
"symfony/http-foundation": "^5.4 || ^6.4",
"symfony/http-kernel": "^5.4 || ^6.4",
"symfony/dependency-injection": "^5.4 || ^6.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
"phpstan/phpstan": "^1.8.11",
"phpstan/phpstan-phpunit": "^1.2.2",
"phpunit/phpunit": "^9.5.26",
"symfony/browser-kit": "^5.4.11",
"symfony/http-client": "^5.4.15",
"symfony/browser-kit": "^5.4.11 || ^6.4",
"symfony/http-client": "^5.4.15 || ^6.4",
"symfony/monolog-bundle": "^3.8",
"symfony/phpunit-bridge": "^5.4.14",
"symfony/phpunit-bridge": "^5.4.14 || ^6.4",
"vimeo/psalm": "^5.22.2",
"symfony/error-handler":"^5.4",
"symfony/monolog-bridge":"^5.4"
"symfony/error-handler":"^5.4 || ^6.4",
"symfony/monolog-bridge":"^5.4 || ^6.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 6696458

Please sign in to comment.