Skip to content

[Ldap] Fix extension deprecation #58143

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

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

alexandre-daubois
Copy link
Member

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Two arguments constructor is deprecated since PHP 8.3: https://www.php.net/manual/en/function.ldap-connect.php

@fabpot
Copy link
Member

fabpot commented Sep 6, 2024

Thank you @alexandre-daubois.

@fabpot fabpot merged commit 73ca0b7 into symfony:5.4 Sep 6, 2024
11 of 12 checks passed
@Seb33300
Copy link
Contributor

Seb33300 commented Sep 9, 2024

Why not just totally removing the call of two argument constructor if the other signature is available since php 5?

@alexandre-daubois
Copy link
Member Author

Indeed, thank you for pointing this out @Seb33300!

nicolas-grekas added a commit that referenced this pull request Sep 11, 2024
…exandre-daubois)

This PR was merged into the 5.4 branch.

Discussion
----------

[Ldap] Clean `ldap_connect()` call in `LdapTestCase`

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

After #58143 (comment), follow-up for #58143

Commits
-------

b15cd3d [Ldap] Clean `ldap_connect()` call in `LdapTestCase`
This was referenced Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants