Skip to content

Commit

Permalink
Dev: Correct variable naming in test bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Dec 27, 2017
1 parent 6f07ba7 commit 9d61954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Expand Up @@ -221,7 +221,7 @@

set_error_handler(function($no, $msg, $file, $line, $context) {
//error_log($file . ':' . $line . ': ' . $msg);
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
throw new ErrorException($msg, 0, $no, $file, $line);
}, E_ERROR & E_WARNING & E_PARSE);

require_once(__DIR__ . '/TestHelper.php');
Expand Down

0 comments on commit 9d61954

Please sign in to comment.