Permalink
Browse files

HtmlGenerator: static $classes changed to constant

  • Loading branch information...
dg committed Feb 5, 2019
1 parent c3632cc commit 8d84421d57e27ee4e0052ebd5273481d6b3aecc2
Showing with 2 additions and 3 deletions.
  1. +2 βˆ’3 src/CodeCoverage/Generators/HtmlGenerator.php
@@ -15,8 +15,7 @@
*/
class HtmlGenerator extends AbstractGenerator
{
/** @var array */
public static $classes = [
private const CLASSES = [
self::CODE_TESTED => 't', // tested
self::CODE_UNTESTED => 'u', // untested
self::CODE_DEAD => 'dead', // dead code
@@ -46,7 +45,7 @@ protected function renderSelf(): void
$this->parse();
$title = $this->title;
$classes = self::$classes;
$classes = self::CLASSES;
$files = $this->files;
$coveredPercent = $this->getCoveredPercent();

0 comments on commit 8d84421

Please sign in to comment.