From f67672ade63fe97d42e0233549d3315567a91bde Mon Sep 17 00:00:00 2001 From: Artem Henvald Date: Fri, 31 May 2024 18:40:16 +0300 Subject: [PATCH] Upgrade to Symfony 7.1 (#39) --- .github/workflows/ci.yaml | 13 +++++++------ .styleci.yml | 2 +- README.md | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7994fa3..fa09734 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ jobs: - name: 'Setup PHP' uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 ini-values: memory_limit=-1 coverage: none tools: composer:v2 @@ -37,7 +37,7 @@ jobs: - name: 'Setup PHP' uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 ini-values: memory_limit=-1 coverage: none tools: composer:v2 @@ -58,7 +58,7 @@ jobs: - name: 'Setup PHP' uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 ini-values: memory_limit=-1 coverage: none tools: composer:v2 @@ -83,7 +83,7 @@ jobs: - name: 'Setup PHP' uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 ini-values: memory_limit=-1 coverage: none tools: composer:v2 @@ -103,9 +103,10 @@ jobs: fail-fast: false matrix: php-version: - - '8.2' + - '8.3' symfony-version: - '7.0' + - '7.1' steps: - name: 'Checkout Code' uses: actions/checkout@v4 @@ -140,7 +141,7 @@ jobs: - name: 'Setup PHP' uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 8.3 ini-values: memory_limit=-1 coverage: pcov tools: composer:v2 diff --git a/.styleci.yml b/.styleci.yml index ea33be4..8a0b565 100755 --- a/.styleci.yml +++ b/.styleci.yml @@ -2,7 +2,7 @@ risky: true preset: symfony tab-width: 4 use-tabs: false -version: 8.2 +version: 8.3 enabled: - combine_consecutive_unsets - ordered_class_elements diff --git a/README.md b/README.md index 9585e04..b5855f6 100755 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ## Features 🎁 -- [x] Compatible with latest [Centrifugo 5.3.2](https://github.com/centrifugal/centrifugo/releases/tag/v5.3.2) 🚀 +- [x] Compatible with latest [Centrifugo 5.4.0](https://github.com/centrifugal/centrifugo/releases/tag/v5.4.0) 🚀 - [x] Wrapper over [Centrifugo HTTP API](https://centrifugal.dev/docs/server/server_api#http-api) 🔌 - [X] Authentication with JWT token (HMAC algorithm) for [anonymous](./Resources/docs/authentication.md#anonymous), [authenticated user](./Resources/docs/authentication.md#authenticated-user) and [private channel](./Resources/docs/authentication.md#private-channel) 🗝️ - [x] [Batch request](./Resources/docs/centrifugo_service_methods.md#batch-request) in [JSON streaming format](https://en.wikipedia.org/wiki/JSON_streaming) 💪 @@ -35,7 +35,7 @@ $ composer req fresh/centrifugo-bundle | Bundle Version (X.Y.Z) | PHP | Symfony | Comment | |:----------------------:|:--------:|:-------:|:--------------------| -| `5.1.*` | `>= 8.2` | `7.*` | **Current version** | +| `5.2.*` | `>= 8.2` | `7.*` | **Current version** | | `4.1.*` | `>= 8.2` | `6.*` | Previous version | By default, [Symfony Flex](https://symfony.com/doc/current/setup/flex.html) adds this bundle to the `config/bundles.php` file and adds required environment variables into `.env` file.