diff --git a/Unit_testing/Reporter/HTMLReporter.php b/Unit_testing/Reporter/HTMLReporter.php index 60ddd30..5a53a22 100644 --- a/Unit_testing/Reporter/HTMLReporter.php +++ b/Unit_testing/Reporter/HTMLReporter.php @@ -3,11 +3,11 @@ class HTMLReporter extends Reporter { - private $output_stream; + private $outputStream; function __construct( $verbosity ) { - $this->output_stream = fopen( 'php://output', 'w' ); + $this->outputStream = fopen( 'php://output', 'w' ); parent::__construct( $verbosity ); } @@ -42,7 +42,6 @@ case Reporter::STATUS_DEBUG: $statusText .= ' grey-light result">'; break; - default: case Reporter::STATUS_TEST: $statusText .= ' style="font-weight: bold;">'; break; @@ -53,7 +52,7 @@ if ( $this->getVerbosity() > Reporter::VERBOSITY_STUDENT ) $statusText .= "" . ucfirst( strtolower( $status ) ) . ': '; $message = vsprintf( $statusText . $reportText . "
\n", $printfArguments ); - fwrite( $this->output_stream, $message ); + fwrite( $this->outputStream, $message ); } }