Skip to content

Commit a77f4b6

Browse files
committed
Update stubs
1 parent 63144c4 commit a77f4b6

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

stubs/ext/ldap/ldap_connect.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ function ldap_connect(?string $uri = null, int $port = 389, string $wallet = UNK
99
}
1010
#ifdef HAVE_ORALDAP
1111
#[\Since('8.1')]
12+
#[\Until('8.5')]
1213
function ldap_connect(?string $uri = null, int $port = 389, string $wallet = UNKNOWN, string $password = UNKNOWN, int $auth_mode = GSLC_SSL_NO_AUTH): \LDAP\Connection|false
1314
{
15+
}
16+
#endif
17+
#ifdef HAVE_ORALDAP
18+
#[\Deprecated(since: "8.5", message: "as it is broken since PHP 8.0")]
19+
#[\Since('8.5')]
20+
function ldap_connect(?string $uri = null, int $port = 389, string $wallet = UNKNOWN, #[\SensitiveParameter] string $password = UNKNOWN, int $auth_mode = GSLC_SSL_NO_AUTH): \LDAP\Connection|false
21+
{
1422
}

stubs/ext/ldap/ldap_connect_wallet.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
#ifdef LDAP_API_FEATURE_X_OPENLDAP
44
#[\Since('8.3')]
5+
#[\Until('8.5')]
6+
function ldap_connect_wallet(?string $uri = null, string $wallet, #[\SensitiveParameter] string $password, int $auth_mode = GSLC_SSL_NO_AUTH): \LDAP\Connection|false
7+
{
8+
}
9+
#ifdef LDAP_API_FEATURE_X_OPENLDAP
10+
#[\Deprecated(since: "8.5", message: "as it is broken since PHP 8.0")]
11+
#[\Since('8.5')]
512
function ldap_connect_wallet(?string $uri = null, string $wallet, #[\SensitiveParameter] string $password, int $auth_mode = GSLC_SSL_NO_AUTH): \LDAP\Connection|false
613
{
714
}

0 commit comments

Comments
 (0)