Description
Symfony version(s) affected: 4.4.15
Description
Some PHP ldap functions have been deprecated and will dissapear in PHP 8.0. This issue has been already addressed in issue #38352 and the changes seem to be present in branch 5.x, but not in branch 4.4, which is the current LTS version.
Although this doesn't affect functionality it pollutes the log output. In my case and using it from a command and it produces INFO level output that scares the final user.
How to reproduce
Use ldap component to do a paged query:
$ldap->query($searchBase, $filter, [ 'pageSize' => $pageSize]);
Possible Solution
If 8.0 will not be supported in LTS 4.4 then just prepending @ to the usage of the deprecated functions might be enough.
Additional context
See #38352