8000 LDAP deprecated functions still in use in LTS 4.4 · Issue #38654 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
LDAP deprecated functions still in use in LTS 4.4 #38654
Closed
@igorbga

Description

@igorbga

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0