Skip to content
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

[DI] Failing test case for complex near-circular situation + lazy #32157

Closed

Conversation

weaverryan
Copy link
Member

Q A
Branch? 4.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #30091
License MIT
Doc PR not needed

Just the failing test case. But hopefully, this can get things moving :)


// doctrine-like event system with small differences

$container->register('manager4', 'stdClass')
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a second case that's actually unrelated, but I stumbled upon it. For some reason, if connection4 is NOT public, you get a nesting exception.

Copy link
Contributor

Choose a reason for hiding this comment

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

Could be worth to add this explanation as a comment code ?

@nicolas-grekas nicolas-grekas added this to the 4.2 milestone Jun 24, 2019
@fabpot fabpot modified the milestones: 4.2, 4.3 Jul 28, 2019
@nicolas-grekas nicolas-grekas changed the base branch from 4.2 to 4.3 July 28, 2019 15:22
@nicolas-grekas nicolas-grekas force-pushed the doctrine-almost-circular-failing-test branch 3 times, most recently from dd60aa9 to c694216 Compare July 29, 2019 13:24
@nicolas-grekas nicolas-grekas force-pushed the doctrine-almost-circular-failing-test branch from c694216 to 4c03af4 Compare July 29, 2019 16:30
@nicolas-grekas
Copy link
Member

Thank you @weaverryan
I've added you test cases to #30096, they were perfect.
I've also pushed here the patch that should be applied to branch 4.3, when merging up.

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.

None yet

5 participants