Skip to content

Commit

Permalink
Add Support for Symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 16, 2024
1 parent c68676d commit 87ba18b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 9 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,23 @@ jobs:
lint: true
symfony-version: '^6.0'

- php-version: '8.2'
lint: true
symfony-version: '^6.0'

- php-version: '8.2'
lint: true
symfony-version: '^7.0'

- php-version: '8.3'
lint: true
symfony-version: '^7.0'

- php-version: '8.4'
lint: true
symfony-version: '^7.0'
composer-options: '--ignore-platform-reqs'

services:
elasticsearch:
image: elasticsearch:7.5.2
Expand Down Expand Up @@ -81,7 +98,7 @@ jobs:
run: |
composer validate --strict
composer require --no-update symfony/symfony:${{ matrix.symfony-version }}
composer install --no-interaction --prefer-dist
composer update --no-interaction --prefer-dist ${{ matrix.compser-options }}
- name: Fix code style
if: ${{ matrix.lint }}
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
This is a fork of the [ongr/elasticsearch-dsl](https://github.com/ongr-io/ElasticsearchDSL).
With some basic changes to support wider range of Symfony Versions.

| Version | Supported Elasticsearch Version | Supported Symfony Version |
|---------|---------------------------------|---------------------------------|
| 7.x | ^7.0 | ^6.0, ^5.0, ^4.0, ^3.4, ^2.8 |
| 6.x | ^6.0 | ^5.0, ^4.0, ^3.4, ^2.8 |
| 5.x | ^5.0 | ^5.0, ^4.0, ^3.4, ^2.8 |
| 2.x | ^2.0 | ^3.0, ^2.7 |
| 1.x | ^1.0 | ^3.0, ^2.7 |
| Version | Supported Elasticsearch Version | Supported Symfony Version |
|---------|---------------------------------|------------------------------------|
| 7.x | ^7.0 | ^7.0, ^6.0, ^5.0, ^4.0, ^3.4, ^2.8 |
| 6.x | ^6.0 | ^5.0, ^4.0, ^3.4, ^2.8 |
| 5.x | ^5.0 | ^5.0, ^4.0, ^3.4, ^2.8 |
| 2.x | ^2.0 | ^3.0, ^2.7 |
| 1.x | ^1.0 | ^3.0, ^2.7 |

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require": {
"ext-json": "*",
"php": "^8.0",
"symfony/serializer": "^2.8 || ^3.4 || ^4.0 || ^5.0 || ^6.0",
"symfony/serializer": "^2.8 || ^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"elasticsearch/elasticsearch": "^7.0"
},
"require-dev": {
Expand Down

0 comments on commit 87ba18b

Please sign in to comment.