-
Notifications
You must be signed in to change notification settings - Fork 22
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
[zend-ldap] php 8.1 & 8.2 compatibility fixes #159
Conversation
c9841bc
to
f950404
Compare
57e4e8f
to
86efe0b
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.
Changes implemented.
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.
Changes implemented.
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.
thanks a lot for making the ldap tests to run. That was hard.
Please adjust the PR title and description to actually reflect what this is all about.
packages/zend-ldap/library/Zend/Ldap/Collection/Iterator/Default.php
Outdated
Show resolved
Hide resolved
packages/zend-ldap/library/Zend/Ldap/Collection/Iterator/Default.php
Outdated
Show resolved
Hide resolved
packages/zend-ldap/library/Zend/Ldap/Collection/Iterator/Default.php
Outdated
Show resolved
Hide resolved
122ec21
to
47bc5d2
Compare
a8e342e
to
d3bf130
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.
I don't think any changes around TESTS_ZEND_LDAP_PORT
are necessary. imo they can be reverted. Wouldn't the ldap client connect to port 389 by default, whether it's specified or not?
d3bf130
to
7d2701f
Compare
ldap_sort got deprecated in php 7.0.0, removed in php 8.0.0 ported from laminas/laminas-ldap@35162e6 and latest version of https://github.com/laminas/laminas-ldap/tree/2.18.x
Zend_Ldap: php 8.1 & 8.2 compatibility fixes.
Tested on openldap 2.5.x - some test assertions had to be adjusted.
Removed calls to
ldap_sort
while keeping sort features.ldap_sort got deprecated in php 7.0.0, removed in php 8.0.0
ported from laminas/laminas-ldap@35162e6 and latest version of https://github.com/laminas/laminas-ldap/tree/2.18.x