Drop php 7.4
This commit is contained in:
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
@ -14,7 +14,6 @@ jobs:
|
|||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
php:
|
php:
|
||||||
- '7.4'
|
|
||||||
- '8.0'
|
- '8.0'
|
||||||
dependencies:
|
dependencies:
|
||||||
- lowest
|
- lowest
|
||||||
@ -77,7 +76,7 @@ jobs:
|
|||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '7.4'
|
php-version: '8.0'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer update --no-progress --no-interaction --prefer-dist
|
run: composer update --no-progress --no-interaction --prefer-dist
|
||||||
@ -95,7 +94,7 @@ jobs:
|
|||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '7.4'
|
php-version: '8.0'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer update --no-progress --no-interaction --prefer-dist
|
run: composer update --no-progress --no-interaction --prefer-dist
|
||||||
@ -113,7 +112,7 @@ jobs:
|
|||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '7.4'
|
php-version: '8.0'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer update --no-progress --no-interaction --prefer-dist
|
run: composer update --no-progress --no-interaction --prefer-dist
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.4",
|
"php": "^8.0",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"clue/socket-raw": "^1.5",
|
"clue/socket-raw": "^1.5",
|
||||||
"composer/semver": "^3.2",
|
"composer/semver": "^3.2",
|
||||||
|
@ -40,7 +40,7 @@ abstract class Connection
|
|||||||
LoggerInterface $logger = null,
|
LoggerInterface $logger = null,
|
||||||
string $clientId = null,
|
string $clientId = null,
|
||||||
string $hostname = null,
|
string $hostname = null,
|
||||||
string $userAgent = null
|
string $userAgent = null,
|
||||||
) {
|
) {
|
||||||
$this->address = $address;
|
$this->address = $address;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user