-
Notifications
You must be signed in to change notification settings - Fork 8k
ext/ldap: [RFC] Deprecate build with Oracle Instance Client version. #19809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Do not know if I need any more warning in other places. There does not seem any CI for using Oracle Instant Client. |
ext/ldap/ldap.c
Outdated
RETURN_THROWS(); | ||
} | ||
|
||
zend_error(E_DEPRECATED, "Calling ldap_connect_wallet is deprecated"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you should consistently use () when referring to a function name. You did so on line 976 but not here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this should use the #[\Deprecated]
attribute in the stub instead of triggering this in C.
4975330
to
5132197
Compare
6cd78fc
to
3b22db1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RM review, left some notes inline but this is approved, technical review not performed
GSLC_SSL_NO_UATH | ||
GSLC_SSL_ONEWAY_UATH | ||
GSLC_SSL_TWOWAY_UATH | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please link to the RFC
UPGRADING
Outdated
ldap_connect with wallet support | ||
ldap_connect_wallet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ldap_connect with wallet support | |
ldap_connect_wallet | |
ldap_connect() with wallet support | |
ldap_connect_wallet() |
ext/ldap/config.m4
Outdated
elif test -f $LDAP_LIBDIR/libclntsh.$SHLIB_SUFFIX_NAME.12.1 || test -f $LDAP_LIBDIR/$MACHINE_INCLUDES/libclntsh.$SHLIB_SUFFIX_NAME.12.1; then | ||
PHP_ADD_LIBRARY_WITH_PATH([clntsh], [$LDAP_LIBDIR], [LDAP_SHARED_LIBADD]) | ||
AC_DEFINE([HAVE_ORALDAP], [1]) | ||
AC_MSG_WARN([Build with Oracle Instant Client is deprecated]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we include the version of the deprecation here? I'm not familiar with the SOP for deprecations in the build configurations so if that isn't standard no need to include it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No that s a good point I ll add the version
3b22db1
to
3efb7f2
Compare
No description provided.