Skip to content

Commit fc9f2e6

Browse files
committed
Merge branch '5.1' into master
* 5.1: (25 commits) stop using the deprecated at() PHPUnit matcher fix lowest allowed version of the HTTP client contracts fix lowest allowed version for the PHPUnit bridge fix merge fix merge drop logger mock in favor of using the BufferingLogger catch ValueError thrown on PHP 8 [Yaml Parser] Fix edge cases when parsing multiple documents fix parsing comments not prefixed by a space [Translator] Make sure a null locale is handled properly deal with errors being thrown on PHP 8 loadRoutes shoud receive RoutingPhpFileLoader [Cache] Allow cache tags to be objects implementing __toString() [HttpKernel] Do not override max_redirects option in HttpClientKernel Log notice when no entry point is configured remove superfluous cast [HttpClient] Support for CURLOPT_LOCALPORT. Upgrade PHPUnit to 8.5 (php 7.2) and 9.3 (php >= 7.3). Fixed exception message formatting [FrameworkBundle] Fix error in xsd which prevent to register more than one metadata ...
2 parents a8a6e0e + 6753ea4 commit fc9f2e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Legacy/CoverageListenerTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private function addCoversForDocBlockInsideRegistry($test, $covers)
109109

110110
// Exclude internal classes; PHPUnit 9.1+ is picky about tests covering, say, a \RuntimeException
111111
$covers = array_filter($covers, function ($class) {
112-
$reflector = new ReflectionClass($class);
112+
$reflector = new \ReflectionClass($class);
113113

114114
return $reflector->isUserDefined();
115115
});

0 commit comments

Comments
 (0)