From d2cc3451073208d5fa25f74ff8fa17bc665d03f8 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Fri, 3 Nov 2023 09:35:03 +0100 Subject: [PATCH] Drop support of symfony 4 --- .github/workflows/tests.yml | 6 +++--- README.md | 4 +++- bors.toml | 1 - composer.json | 14 +++++++------- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0c72c67c..996a4a70 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,11 +24,11 @@ jobs: MEILI_MASTER_KEY: masterKey MEILI_NO_ANALYTICS: true strategy: + # only TEMP + fail-fast: false matrix: php-version: ['7.4', '8.0', '8.1', '8.2', '8.3'] include: - - php-version: '7.4' - sf-version: '4.4.*' - php-version: '7.4' sf-version: '5.4.*' - php-version: '8.0' @@ -59,7 +59,7 @@ jobs: - name: Install dependencies env: SYMFONY_REQUIRE: ${{ matrix.sf-version }} - run: composer install --prefer-dist --no-progress --quiet + run: composer install --prefer-dist --no-progress - name: "Remove doctrine/annotations" if: matrix.php-version != '7.4' run: | diff --git a/README.md b/README.md index 06586bde..0dfea226 100644 --- a/README.md +++ b/README.md @@ -49,9 +49,11 @@ Say goodbye to server deployment and manual updates with [Meilisearch Cloud](htt ## 📝 Requirements * **Require** PHP 7.4 and later. -* **Compatible** with Symfony 4.0 and later. +* **Compatible** with Symfony 5.4 and later. * **Support** Doctrine ORM. +For support of older versions, see older versions of this bundle. + ## 🤖 Compatibility with Meilisearch This package guarantees compatibility with [version v1.x of Meilisearch](https://github.com/meilisearch/meilisearch/releases/latest), but some features may not be present. Please check the [issues](https://github.com/meilisearch/meilisearch-symfony/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+label%3Aenhancement) for more info. diff --git a/bors.toml b/bors.toml index cfc33b76..8e88b41d 100644 --- a/bors.toml +++ b/bors.toml @@ -1,5 +1,4 @@ status = [ - 'integration-tests (PHP 7.4) (Symfony 4.4.*)', 'integration-tests (PHP 7.4) (Symfony 5.4.*)', 'integration-tests (PHP 8.0) (Symfony 6.0.*)', 'integration-tests (PHP 8.1) (Symfony 6.1.*)', diff --git a/composer.json b/composer.json index 5b6d7248..fe5766f6 100644 --- a/composer.json +++ b/composer.json @@ -22,10 +22,10 @@ "ext-json": "*", "doctrine/doctrine-bundle": "^2.4", "meilisearch/meilisearch-php": "^1.0.0", - "symfony/filesystem": "^4.4 || ^5.0 || ^6.0 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0", "symfony/polyfill-php80": "^1.27", - "symfony/property-access": "^4.4 || ^5.0 || ^6.0 || ^7.0", - "symfony/serializer": "^4.4 || ^5.0 || ^6.0 || ^7.0" + "symfony/property-access": "^5.4 || ^6.0 || ^7.0", + "symfony/serializer": "^5.4 || ^6.0 || ^7.0" }, "require-dev": { "doctrine/annotations": "^2.0", @@ -40,10 +40,10 @@ "phpstan/phpstan-phpunit": "^1.3.10", "phpstan/phpstan-symfony": "^1.2.23", "phpunit/php-code-coverage": "^9.2.26", - "symfony/doctrine-bridge": "^4.4 || ^5.0 || ^6.0 || ^7.0", - "symfony/http-client": "^4.4 || ^5.0 || ^6.0 || ^7.0", - "symfony/phpunit-bridge": "^4.4 || ^5.0 || ^6.0 || ^7.0", - "symfony/yaml": "^4.4 || ^5.0 || ^6.0 || ^7.0" + "symfony/doctrine-bridge": "^5.4 || ^6.0 || ^7.0", + "symfony/http-client": "^5.4 || ^6.0 || ^7.0", + "symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0", + "symfony/yaml": "^5.4 || ^6.0 || ^7.0" }, "autoload": { "psr-4": {