8000 [Lock] add type-hint whenever possible by Simperfit · Pull Request #33004 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Lock] add type-hint whenever possible #33004

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

Closed

Conversation

Simperfit
Copy link
Contributor
@Simperfit Simperfit commented Aug 7, 2019
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 symfony/symfony-docs#...

Add type-hint in the lock component

@OskarStark
Copy link
Contributor

The fixed ticket should not include “t”

@derrabus derrabus mentioned this pull request Aug 7, 2019
57 tasks
@nicolas-grekas nicolas-grekas added this to the 5.0 milestone Aug 7, 2019
Copy link
Member
@jderusse jderusse left a comment

Choose a reason for hiding this comment

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

Could you please add acquire(bool $blocking = false) in LockInterface?

Copy link
Member
@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

(I'm taking care of the comments while merging)

@nicolas-grekas
Copy link
Member

Thank you @Simperfit.

nicolas-grekas added a commit that referenced this pull request Aug 8, 2019
This PR was merged into the 5.0-dev branch.

Discussion
----------

[Lock] add type-hint whenever possible

| 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        | symfony/symfony-docs#... <!-- 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.
-->
Add type-hint in the lock component

Commits
-------

a5ddab2 [Lock] add type-hint whenever possible
@Simperfit
Copy link
Contributor Author

thanks @nicolas-grekas for taking care of the comments!

@Simperfit Simperfit deleted the feature/add-type-hint-on-lock branch August 8, 2019 12:39
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
0