Skip to content

Conversation

@frankmayer
Copy link
Contributor

Summary of Changes

  • fix callable name mismatches
  • removed closing tags (also one that's in other PR, to not clash)
  • removed loop that does nothing

Testing Instructions

Code review only.

Documentation Changes Required

None

- fix callable name mismatches
- removed closing tags (also one that's in other PR, to not clash)
- removed loop that does nothing

$i = count($trace);

while (isset($trace[--$i]['class']) && ('ReflectionMethod' === $trace[$i]['class'] || 0 === strpos($trace[$i]['class'], 'PHPUnit_')))
Copy link
Contributor

Choose a reason for hiding this comment

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

There's a reason for this, see symfony/phpunit-bridge@9bf6a62#commitcomment-9854970 (as noted in the doc block, this method is based on the Symfony implementation).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, missed that, OK.
Thanks

Copy link
Contributor

Choose a reason for hiding this comment

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

oh missed that one too!

@wilsonge wilsonge merged commit 7aa43fd into joomla:staging Dec 29, 2016
@frankmayer frankmayer deleted the improvements-in-tests-2 branch January 4, 2017 07:16
@zero-24 zero-24 added this to the Joomla 3.7.0 milestone Jan 18, 2017
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.

6 participants