Skip to content

Commit 7d9c380

Browse files
Closes #4516
1 parent f5c8a5d commit 7d9c380

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

ChangeLog-8.5.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes of the PHPUnit 8.5 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
44

5+
## [8.5.10] - 2020-MM-DD
6+
7+
### Fixed
8+
9+
* [#4516](https://github.com/sebastianbergmann/phpunit/issues/4516): `phpunit/phpunit-selenium` does not work with PHPUnit 8.5.9
10+
511
## [8.5.9] - 2020-11-10
612

713
### Fixed
@@ -84,6 +90,7 @@ All notable changes of the PHPUnit 8.5 release series are documented in this fil
8490
* [#3967](https://github.com/sebastianbergmann/phpunit/issues/3967): Cannot double interface that extends interface that extends `\Throwable`
8591
* [#3968](https://github.com/sebastianbergmann/phpunit/pull/3968): Test class run in a separate PHP process are passing when `exit` called inside
8692

93+
[8.5.10]: https://github.com/sebastianbergmann/phpunit/compare/8.5.9...8.5
8794
[8.5.9]: https://github.com/sebastianbergmann/phpunit/compare/8.5.8...8.5.9
8895
[8.5.8]: https://github.com/sebastianbergmann/phpunit/compare/8.5.7...8.5.8
8996
[8.5.7]: https://github.com/sebastianbergmann/phpunit/compare/8.5.6...8.5.7

src/Framework/TestSuite.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,10 @@ protected function createResult(): TestResult
748748
*/
749749
protected function addTestMethod(\ReflectionClass $class, \ReflectionMethod $method): void
750750
{
751+
if (!TestUtil::isTestMethod($method)) {
752+
return;
753+
}
754+
751755
$methodName = $method->getName();
752756

753757
$test = (new TestBuilder)->build($class, $methodName);

0 commit comments

Comments
 (0)