public function writeError($line, $check, $message, $level = WARNING) {
		foreach ($this->reporters as $reporter) {
			$reporter->writeError($line, $check, $message, $level);
		}
	}
public function writeError($line, $check, $message, $level = WARNING) {
		foreach ($this->reporters as $reporter) {
			$reporter->writeError($line, $check, $message, $level);
		}
	}
public function writeError ( $ line , $ check , $ message , $ level = WARNING ) { foreach ( $ this -> reporters as $ reporter ) { $ reporter -> writeError ( $ line , $ check , $ message , $ level ) ; } }
For every error, this function is called once with the line where
the error occurred and the actual error message
It is the responsibility of the derived class to appropriately
format it and write it into the output file

@param $line line
number of the error
@param String $check
the name of the check
@param $message error
message
@param $level the
severity level
For every error this function is called once with the line where the error occurred and the actual error message It is the responsibility of the derived class to appropriately format it and write it into the output file