Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Removed useless parentheses in Assert annotations#10676

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:2.8fromthomasbisignani:patch-4
Nov 16, 2018

Conversation

thomasbisignani
Copy link
Contributor

@thomasbisignanithomasbisignani commentedNov 15, 2018
edited
Loading

To be consistent, this PR removes the useless empty parentheses in the@Assert annotations for constraints.

Sometimes@Assert annotations for constraints without options were used with empty parentheses, sometimes without parentheses.

@javiereguiluz
Copy link
Member

Thanks Thomas! Personally I like this change a lot. Cheers!

thomasbisignani reacted with thumbs up emoji

@javiereguiluzjaviereguiluz merged commitf5980f0 intosymfony:2.8Nov 16, 2018
javiereguiluz added a commit that referenced this pull requestNov 16, 2018
…sbisignani)This PR was merged into the 2.8 branch.Discussion----------Removed useless parentheses in Assert annotationsTo be consistent, this PR removes the useless empty parentheses in the `@Assert` annotations for constraints.Sometimes `@Assert` annotations for constraints without options were used with empty parentheses, sometimes without parentheses.Commits-------f5980f0 Removed useless parentheses in Assert annotations
@javiereguiluz
Copy link
Member

I've only found (and fixed) one occurrence of empty parenthesis while merging thi in the upper branches, so I think we're good.

thomasbisignani reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
2.8
Development

Successfully merging this pull request may close these issues.

3 participants
@thomasbisignani@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp