zf1s / zf1

Monorepo of a fork of Zend Framework 1, with all components split into individual composer packages. PHP 5.3-8.3 compatible.
BSD 3-Clause "New" or "Revised" License
57 stars 22 forks source link

[zend-ldap] php 8.1 & 8.2 compatibility fixes #159

Closed marcing closed 1 year ago

marcing commented 1 year ago

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 https://github.com/laminas/laminas-ldap/commit/35162e69f2685400470bd5d67764050bc521011e and latest version of https://github.com/laminas/laminas-ldap/tree/2.18.x