From df89322fe0e8626e4bc53764ad2f48b41023949a Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Sat, 23 Jan 2021 02:09:37 +0300 Subject: [PATCH] Drop php 7.4 --- .github/workflows/ci.yaml | 7 +++---- composer.json | 2 +- src/Connection.php | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bb0b371..061d307 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,6 @@ jobs: os: - ubuntu-latest php: - - '7.4' - '8.0' dependencies: - lowest @@ -77,7 +76,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.0' - name: Install dependencies run: composer update --no-progress --no-interaction --prefer-dist @@ -95,7 +94,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.0' - name: Install dependencies run: composer update --no-progress --no-interaction --prefer-dist @@ -113,7 +112,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.0' - name: Install dependencies run: composer update --no-progress --no-interaction --prefer-dist diff --git a/composer.json b/composer.json index 8feb4e8..2e79b0e 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": ">=7.4", + "php": "^8.0", "ext-json": "*", "clue/socket-raw": "^1.5", "composer/semver": "^3.2", diff --git a/src/Connection.php b/src/Connection.php index 5f81186..f9b2a1c 100644 --- a/src/Connection.php +++ b/src/Connection.php @@ -40,7 +40,7 @@ abstract class Connection LoggerInterface $logger = null, string $clientId = null, string $hostname = null, - string $userAgent = null + string $userAgent = null, ) { $this->address = $address;