Skip to content

Fix failing tests after merge #12967

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 2 commits into from
Dec 13, 2014
Merged

Fix failing tests after merge #12967

merged 2 commits into from
Dec 13, 2014

Conversation

nicolas-grekas
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

https://github.com/symfony/symfony/pull/12967/files?w=1

@xabbuh
Copy link
Member

xabbuh commented Dec 13, 2014

@nicolas-grekas This is basically the same as #12963.

} elseif (null !== $object) {
if (!method_exists($object, $method)) {
throw new ConstraintDefinitionException(sprintf('Method "%s" targeted by Callback constraint does not exist', $method));
}
Copy link
Member

Choose a reason for hiding this comment

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

Ah, I didn't fix this in #12963.

@nicolas-grekas
Copy link
Member Author

I just cherry-picked your fix so that the combinaison of both fixes have a chance to make tests green

@xabbuh
Copy link
Member

xabbuh commented Dec 13, 2014

@nicolas-grekas Thanks, though that was not really necessary since you fixed it in the same way. I closed #12963 in the meantime.

The question remains if we should also allow ~1.0 and ~2.0 for the proxy manager. Both releases don't break tests. What do you think?

xabbuh and others added 2 commits December 13, 2014 10:17
Symfony 2.5 and higher requires ocramius/proxy-manager 0.4.0 or
higher.
@nicolas-grekas
Copy link
Member Author

Just added ~1.0 (but not 2.0 since it's a dev branch)

@fabpot
Copy link
Member

fabpot commented Dec 13, 2014

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 9b96373 into symfony:2.5 Dec 13, 2014
fabpot added a commit that referenced this pull request Dec 13, 2014
This PR was merged into the 2.5 branch.

Discussion
----------

Fix failing tests after merge

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

https://github.com/symfony/symfony/pull/12967/files?w=1

Commits
-------

9b96373 Fix failing tests after merge
6638535 fix ocramius/proxy-manager dependency version
@nicolas-grekas nicolas-grekas deleted the fix-tests branch December 13, 2014 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants