Skip to content

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? master
Bug fix? yes (well, missing feat in previous PR)
Tests pass? yes
License MIT

So that one can still add ellipses when dumping about non existing classes or methods.

$r = array(substr($callable, 0, $i), substr($callable, 2 + $i));
} else {
$r = new \ReflectionFunction($callable);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

wouldn't this be better as a switch?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope :)

@nicolas-grekas nicolas-grekas merged commit 73b3cf7 into symfony:master Sep 6, 2016
nicolas-grekas added a commit that referenced this pull request Sep 6, 2016
…ds (nicolas-grekas)

This PR was merged into the 3.2-dev branch.

Discussion
----------

[VarDumper] Make ClassStub handle missing classes or methods

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes (well, missing feat in previous PR)
| Tests pass?   | yes
| License       | MIT

So that one can still add ellipses when dumping about non existing classes or methods.

Commits
-------

73b3cf7 [VarDumper] Make ClassStub handle missing classes or methods
@nicolas-grekas nicolas-grekas deleted the dump-class+ branch September 6, 2016 08:23
@fabpot fabpot mentioned this pull request Oct 27, 2016
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.

3 participants