Skip to content

Commit

Permalink
TestCase: removed NULL byte from class names, thx @smuuf [Closes #450][
Browse files Browse the repository at this point in the history
…Closes #449]

get_debug_type() does not output a null byte for anonymous classes
  • Loading branch information
dg committed Jun 18, 2024
1 parent 43906de commit 027bd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ private function sendMethodList(array $methods): void
Environment::$checkAssertions = false;
header('Content-Type: text/plain');
echo "\n";
echo 'TestCase:' . static::class . "\n";
echo 'TestCase:' . get_debug_type($this) . "\n";
echo 'Method:' . implode("\nMethod:", $methods) . "\n";

$dependentFiles = [];
Expand Down

0 comments on commit 027bd0a

Please sign in to comment.