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

Add value type information to InvalidArgumentException #699

Merged
merged 1 commit into from
Oct 24, 2012
Merged

Conversation

samgiles
Copy link
Contributor

This would be slightly more useful when debugging certain issues, I could've identified unexpected issues easier if I was presented with this extra information.

The new exception message would look similar to this:

Argument #1 (valueType#value) of class::function() must be a type.

Or

Argument #1 (No Value) of class::function() must be a type.

This would be slightly more useful when debugging certain issues, I could've identified the issue quicker if I was presented with this extra information.
@sebastianbergmann sebastianbergmann merged commit 2b71285 into sebastianbergmann:master Oct 24, 2012
@sebastianbergmann
Copy link
Owner

edorian added a commit that referenced this pull request Nov 10, 2012
edorian added a commit to sebastianbergmann/php-code-coverage that referenced this pull request Nov 10, 2012
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.

2 participants