Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Debug] Fix false-positive "MicroKernelTrait::loadRoutes()" method is considered internal" #28553

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

Merged
merged 1 commit into from
Sep 22, 2018

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 3.4
Bug fix? yes (fixing and unreleased issue)
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #28549
License MIT
Doc PR -

Introduced in #28411
Just a failing test for now.

@GuilhemN
Copy link
Contributor

I've done the fix in master...GuilhemN:debug-int, I did not realize it was there since 3.4...
BTW one of test cases should have detected this issue... If it wasn't broken itself 😅

@nicolas-grekas nicolas-grekas force-pushed the debug-int branch 2 times, most recently from 88d6c25 to 4164755 Compare September 22, 2018 18:23
@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Sep 22, 2018

'@GuilhemN thanks a lot for having a look! Actually I don't agree with your patch, the test was fine and it's exactly why it was added in #28411. The issue is nastier: we don't deal with traits correctly. This very check you moved up shouldn't exist at all - and we should never inspect method annotations on traits.
This PR is now ready with the correct fix, see https://github.com/symfony/symfony/pull/28553/files?w=1

@GuilhemN
Copy link
Contributor

GuilhemN commented Sep 22, 2018

Oops sorry, I thought I was the one who introduced it and by mistake 😶 I understand now why you've done this change, I will review your last commit asap :)

@nicolas-grekas nicolas-grekas merged commit 46c4f71 into symfony:3.4 Sep 22, 2018
nicolas-grekas added a commit that referenced this pull request Sep 22, 2018
…" method is considered internal" (nicolas-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[Debug] Fix false-positive "MicroKernelTrait::loadRoutes()" method is considered internal"

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes (fixing and unreleased issue)
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #28549
| License       | MIT
| Doc PR        | -

Introduced in #28411
Just a failing test for now.

Commits
-------

46c4f71 [Debug] Fix false-positive "MicroKernelTrait::loadRoutes()" method is considered internal"
@nicolas-grekas nicolas-grekas deleted the debug-int branch September 22, 2018 19:04
Copy link
Contributor

@GuilhemN GuilhemN left a comment

Choose a reason for hiding this comment

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

Reviewed and looks all good to me 👍

@nicolas-grekas
Copy link
Member Author

@GuilhemN thanks for the review. Now merged up to master and green :)

This was referenced Sep 30, 2018
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.

3 participants