Skip to content

Commit

Permalink
Support PHP 8.3 (#5137)
Browse files Browse the repository at this point in the history
fixes #5136
  • Loading branch information
Al2Klimov committed Nov 14, 2023
1 parent f676685 commit d3f6460
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
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']

steps:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
strategy:
fail-fast: false
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']
include:
- php: '7.2'
Expand Down
2 changes: 1 addition & 1 deletion library/Icinga/Protocol/Ldap/LdapConnection.php
Expand Up @@ -1198,7 +1198,7 @@ protected function prepareNewConnection(Inspection $info = null)

$hostname = $this->normalizeHostname($this->hostname);

$ds = ldap_connect($hostname, $this->port);
$ds = ldap_connect($hostname);

// Set a proper timeout for each connection
ldap_set_option($ds, LDAP_OPT_NETWORK_TIMEOUT, $this->timeout);
Expand Down

0 comments on commit d3f6460

Please sign in to comment.