10000 [Form] replaced UnexpectedValueException by InvalidArgumentException in Guess by Tobion · Pull Request #5361 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] replaced UnexpectedValueException by InvalidArgumentException in Guess #5361

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
Aug 29, 2012

Conversation

Tobion
Copy link
Contributor
@Tobion Tobion commented Aug 27, 2012

BC break: yes

this is a better fit because the error is a logic exception (that can be detected at compile time, i.e. when writing the code) instead of a runtime exception

@travisbot
Copy link

This pull request passes (merged 2e1f7966 into 2c0e851).

@travisbot
Copy link

This pull request passes (merged b550ae80 into 2c0e851).

Tobion added 2 commits August 28, 2012 08:15
…in Guess

this is a better fit because the error is a logic exception instead of a runtime exception
@travisbot
Copy link

This pull request passes (merged e7e39e0 into c0590bf).

@webmozart
Copy link
Contributor

👍

fabpot added a commit that referenced this pull request Aug 29, 2012
Commits
-------

e7e39e0 [Form] refactor Guess
dcbeeb1 [Form] replaced UnexpectedValueException by InvalidArgumentException in Guess

Discussion
----------

[Form] replaced UnexpectedValueException by InvalidArgumentException in Guess

BC break: yes

this is a better fit because the error is a logic exception (that can be detected at compile time, i.e. when writing the code) instead of a runtime exception

---------------------------------------------------------------------------

by bschussek at 2012-08-29T10:51:54Z

:+1:
@fabpot fabpot merged commit e7e39e0 into symfony:master Aug 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0