Added two calls to PHPUnit_Framework_TestResult::endTestSuite() from PHPUnit_Framework_TestSuite::run() to make sure test suites are ended properly when an exception (e.g. PHPUnit_Framework_SkippedTestError) in a test's setUpBeforeClass() method
Whitespace fixes
When one test creates a mock object, sets staticExpectation and throws an unexpected exception afterwards, the state of the mock object class, which is saved in a static member variable, is not cleaned up before invoking the next test. This can cause the next test which sets another staticExpectation on the same class to fail.

See https://github.com/sebastianbergmann/phpunit/issues/1143 for more details and an example test that demonstrates this issue.

The fix is to clean up the mock objects' state after each test is run or an exception is caught.
Prepare release
Cache the result of SebastianBergmann\Environment\Runtime::canCollectCodeCoverage()
Do not show "No code coverage will be generated." message when code coverage reporting is not requested
Fix docblock
Skip inherited methods
Simplify
Merge branch '4.0'
get hook-methods only if a testcase will run
Merge pull request #1190 from hpbuniat/fix-gethookmethod-with-dataprovider-4.0

Get hook-methods only if a testcase will run
Refactor PHPUnit_Util_Test::getHookMethods() to perform the class_exists() check
Merge branch '4.0'
Prepare release
fixed autoloader-issue with not-existing-files, regression in cad11af82d1856ccf8c6bfd7d4d49efd04ccea81
Merge pull request #1194 from hpbuniat/fix-non-hook-after-before-4.0

Fixed unintended autoloader-call (regression)
Prepare release
Prepare release
use blacklist-classnames from PHP_CodeCoverage_Filter::