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

Fixed singular of committee#18911

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

Closed
peterrehm wants to merge4 commits intosymfony:2.3frompeterrehm:inflector-2.3
Closed

Fixed singular of committee#18911

peterrehm wants to merge4 commits intosymfony:2.3frompeterrehm:inflector-2.3

Conversation

@peterrehm
Copy link
Contributor

@peterrehmpeterrehm commentedMay 29, 2016
edited
Loading

QA
Branch?2.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#18872,#18748
LicenseMIT
Doc PR-

In addition to PR#18909.

}
}

$irregularNouns =array(

Choose a reason for hiding this comment

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

would be better as a private static var

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

I had it like that prior to the PR but since those are irregular nouns in that context I have moved that into the function.

Choose a reason for hiding this comment

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

Inline arrays are can't benefit from some opcache optims until php7. A private static would fix that

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Shall I update it accordingly? I prefered the logic reason.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

@nicolas-grekas Shall I refactor it? I would like to get this merged.

Choose a reason for hiding this comment

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

yep please

@peterrehm
Copy link
ContributorAuthor

@nicolas-grekas Updated

@peterrehm
Copy link
ContributorAuthor

@nicolas-grekas Both PR's are updated

@peterrehm
Copy link
ContributorAuthor

Just added support forscreenshots as well. However this shows best why I did not wanted the private static array, as this can lead to confusions now.

@fabpot
Copy link
Member

Thank you@peterrehm.

fabpot added a commit that referenced this pull requestJun 8, 2016
This PR was submitted for the 2.3 branch but it was merged into the 2.7 branch instead (closes#18911).Discussion----------Fixed singular of committee| Q             | A| ------------- | ---| Branch?       | 2.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#18872,#18748| License       | MIT| Doc PR        | -In addition to PR#18909.Commits-------5661d52 Fixed singular of committee
@fabpotfabpot closed thisJun 8, 2016
@peterrehmpeterrehm deleted the inflector-2.3 branchJune 8, 2016 15:19
@fabpotfabpot mentioned this pull requestJun 15, 2016
This was referencedJun 30, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@peterrehm@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp