We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3703c4b commit 6fd3a39Copy full SHA for 6fd3a39
src/CodeCoverage/Report/HTML/Renderer/File.php
@@ -69,7 +69,7 @@ public function __construct($templatePath, $generator, $date, $lowUpperBound, $h
69
70
$this->htmlspecialcharsFlags = ENT_COMPAT;
71
72
- if (defined('ENT_SUBSTITUTE')) {
+ if (PHP_VERSION_ID >= 50400 && defined('ENT_SUBSTITUTE')) {
73
$this->htmlspecialcharsFlags = $this->htmlspecialcharsFlags | ENT_HTML401 | ENT_SUBSTITUTE;
74
}
75
0 commit comments