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

[WebProfilerBundle] Avoid missing method when using __invoke on a controller#12958

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:2.6fromthewilkybarkid:invoke-toolbar
Dec 12, 2014

Conversation

@thewilkybarkid
Copy link
Contributor

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

2.6 added support for using__invoke on controllers, but the profiler toolbar still expects a method name, leading to:

image

This PR changes it to only include the method section/double dots if the method name is included (and thelink is moved to the class name).

@javiereguiluz
Copy link
Member

@thewilkybarkid thanks for your PR! I love these quick wins!

By the way, your message ends abruptly, so it's been probably cut unintentionally:"This PR changes it to only include the method section/double dots if the method name is included. This does mean that there is no link included... (so either the )"

@thewilkybarkid
Copy link
ContributorAuthor

@javiereguiluz Fixed now. Got to that point, fixed the code, didn't fix the text. 😃

@stof
Copy link
Member

👍

@fabpot
Copy link
Member

Thank you@thewilkybarkid.

@fabpotfabpot merged commitfb87558 intosymfony:2.6Dec 12, 2014
fabpot added a commit that referenced this pull requestDec 12, 2014
…voke on a controller (thewilkybarkid)This PR was merged into the 2.6 branch.Discussion----------[WebProfilerBundle] Avoid missing method when using __invoke on a controller| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |2.6 added support for using `__invoke` on controllers, but the profiler toolbar still expects a method name, leading to:![image](https://cloud.githubusercontent.com/assets/1784740/5412993/4553c4da-820a-11e4-899c-50ef9f330cdd.png)This PR changes it to only include the method section/double dots if the method name is included (and the `link` is moved to the class name).Commits-------fb87558 Avoid missing method when using __invoke
@thewilkybarkidthewilkybarkid deleted the invoke-toolbar branchDecember 12, 2014 18:36
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
…ng __invoke on a controller (thewilkybarkid)This PR was merged into the 2.6 branch.Discussion----------[WebProfilerBundle] Avoid missing method when using __invoke on a controller| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |2.6 added support for using `__invoke` on controllers, but the profiler toolbar still expects a method name, leading to:![image](https://cloud.githubusercontent.com/assets/1784740/5412993/4553c4da-820a-11e4-899c-50ef9f330cdd.png)This PR changes it to only include the method section/double dots if the method name is included (and the `link` is moved to the class name).Commits-------fb87558 Avoid missing method when using __invoke
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@thewilkybarkid@javiereguiluz@stof@fabpot

[8]ページ先頭

©2009-2025 Movatter.jp