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

Skip to content

Add value type information to InvalidArgumentException#699

Merged
sebastianbergmann merged 1 commit into
sebastianbergmann:masterfrom
samgiles:patch-1
Oct 24, 2012
Merged

Add value type information to InvalidArgumentException#699
sebastianbergmann merged 1 commit into
sebastianbergmann:masterfrom
samgiles:patch-1

Conversation

@samgiles
Copy link
Copy Markdown
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
Copy Markdown
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