Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Ldap] [5.0] add type-hint to interface and implementation #32253

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
Jun 29, 2019

Conversation

Simperfit
Copy link
Contributor

Q A
Branch? 5.0
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets Contribute to #32179
License MIT
Doc PR

This adds the type-hint to the Ldap interfaces and implementation

@@ -45,10 +45,10 @@ public function getEntryManager();
* Escape a string for use in an LDAP filter or DN.
*
* @param string $subject
* @param string $ignore
* @param null|string $ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we pass null values in the test, I think it's safe to say that is nullable.

@Simperfit Simperfit force-pushed the feature/add-type-hint-on-ldap branch from 5043fbf to 0fa7e3c Compare June 28, 2019 11:09
src/Symfony/Component/Ldap/Adapter/AdapterInterface.php Outdated Show resolved Hide resolved
@derrabus derrabus mentioned this pull request Jun 28, 2019
57 tasks
@nicolas-grekas nicolas-grekas added this to the 5.0 milestone Jun 28, 2019
@Simperfit Simperfit force-pushed the feature/add-type-hint-on-ldap branch from 0fa7e3c to 1306f52 Compare June 28, 2019 14:02
@Simperfit
Copy link
Contributor Author

Status: Needs Review

@Simperfit
Copy link
Contributor Author

Status: Needs Review

src/Symfony/Component/Ldap/Adapter/AdapterInterface.php Outdated Show resolved Hide resolved
@Simperfit Simperfit force-pushed the feature/add-type-hint-on-ldap branch from 19d193a to 03f2e90 Compare June 29, 2019 06:58
@fabpot
Copy link
Member

fabpot commented Jun 29, 2019

Thank you @Simperfit.

@fabpot fabpot merged commit 03f2e90 into symfony:master Jun 29, 2019
fabpot added a commit that referenced this pull request Jun 29, 2019
…on (Simperfit)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[Ldap] [5.0] add type-hint to interface and implementation

| Q             | A
| ------------- | ---
| Branch?       | 5.0
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | Contribute to #32179 <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        |  <!-- required for new features -->

<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against branch 4.4.
 - Legacy code removals go to the master branch.
-->

This adds the type-hint to the Ldap interfaces and implementation

Commits
-------

03f2e90 [Ldap] [5.0] add type-hint to interface and implementation
@Simperfit Simperfit deleted the feature/add-type-hint-on-ldap branch June 29, 2019 07:05
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.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.