iTop
iTop copied to clipboard
chore(auth-ldap): Prepare for php 8.3 deprecation
Base information
| Question | Answer |
|---|---|
| Related to a SourceForge thead / Another PR / Combodo ticket? | N/A |
| Type of change? | Enhancement |
Objective
According to the docs, the signature ldap_connect(?string $host = null, int $port = 389) is deprecated as of PHP 8.3.0.
Proposed solution
Introduce new uri module setting and provide migration to be able to use the preferred way of ldap_connect.
Checklist before requesting a review
- [x] I have performed a self-review of my code
- [ ] I have tested all changes I made on an iTop instance
- [ ] I have added a unit test, otherwise I have explained why I couldn't
- [x] Is the PR clear and detailed enough so anyone can understand digging in the code?