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

[HttpFoundation] Mark more methods as@final#21461

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
fabpot merged 1 commit intosymfony:masterfromnicolas-grekas:http-final
Jan 30, 2017

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?yes
Tests pass?no
Fixed tickets-
LicenseMIT
Doc PR-

Follow up of#19734 (ping@GuilhemN)

@nicolas-grekasnicolas-grekas added this to the3.3 milestoneJan 30, 2017
*
* @return int|null Number of seconds
*
* @final since version 3.2
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we support the annotations on methods in the DebugClassLoader ?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I guess so!

Copy link
Contributor

Choose a reason for hiding this comment

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

I can't do it right now, but i will asap.

*
* @return $this
*
* @final since version 3.2
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be3.3 everywhere?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

@final support is since 3.3, but the method is final since 3.2 - see deprecation in the constructor

xabbuh reacted with thumbs up emoji
Copy link
Member

@xabbuhxabbuh left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@javiereguiluzjaviereguiluz left a comment

Choose a reason for hiding this comment

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

👍

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit84a664f intosymfony:masterJan 30, 2017
fabpot added a commit that referenced this pull requestJan 30, 2017
…grekas)This PR was merged into the 3.3-dev branch.Discussion----------[HttpFoundation] Mark more methods as `@final`| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  |  no| BC breaks?    | no| Deprecations? | yes| Tests pass?   | no| Fixed tickets | -| License       | MIT| Doc PR        | -Follow up of#19734 (ping@GuilhemN)Commits-------84a664f [HttpFoundation] Mark more methods as `@final`
@nicolas-grekasnicolas-grekas deleted the http-final branchJanuary 30, 2017 20:27
fabpot added a commit that referenced this pull requestFeb 12, 2017
This PR was squashed before being merged into the 3.3-dev branch (closes#21465).Discussion----------[Debug] Support `@final` on methods| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21461 (comment)| License       | MIT| Doc PR        |This adds support for `@final` on methods:```phpclass Foo {    /**     *@Final since version 2.0.     */    public function bar()    {    }}```ping@nicolas-grekasCommits-------1b0a6b6 [Debug] Support  on methods
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz approved these changes

@xabbuhxabbuhxabbuh approved these changes

+1 more reviewer

@GuilhemNGuilhemNGuilhemN approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@fabpot@javiereguiluz@xabbuh@GuilhemN

[8]ページ先頭

©2009-2025 Movatter.jp