Support PHP 8.3 (#5137)

fixes #5136
This commit is contained in:
Alexander Aleksandrovič Klimov 2023-11-14 11:22:54 +01:00 committed by GitHub
parent f676685876
commit d3f64604a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
os: ['ubuntu-latest'] os: ['ubuntu-latest']
steps: steps:
@ -62,7 +62,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
os: ['ubuntu-latest'] os: ['ubuntu-latest']
include: include:
- php: '7.2' - php: '7.2'

View File

@ -1198,7 +1198,7 @@ class LdapConnection implements Selectable, Inspectable
$hostname = $this->normalizeHostname($this->hostname); $hostname = $this->normalizeHostname($this->hostname);
$ds = ldap_connect($hostname, $this->port); $ds = ldap_connect($hostname);
// Set a proper timeout for each connection // Set a proper timeout for each connection
ldap_set_option($ds, LDAP_OPT_NETWORK_TIMEOUT, $this->timeout); ldap_set_option($ds, LDAP_OPT_NETWORK_TIMEOUT, $this->timeout);