diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:14:50 +0200 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:14:50 +0200 |
| commit | 902d39a3a79c6efe93c8879575fdd5a759cf03de (patch) | |
| tree | e6ec0af8ac4333de34f581c2c7b5a2eb93e635a1 /ext/mbstring/tests | |
| parent | 581f0141b6dd8d20e71612f90b01507ed0783db8 (diff) | |
| download | php-git-902d39a3a79c6efe93c8879575fdd5a759cf03de.tar.gz | |
Trim trailing whitespace in source code files
Diffstat (limited to 'ext/mbstring/tests')
| -rw-r--r-- | ext/mbstring/tests/common.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mbstring/tests/common.inc b/ext/mbstring/tests/common.inc index c686b0696c..adccb0ab73 100644 --- a/ext/mbstring/tests/common.inc +++ b/ext/mbstring/tests/common.inc @@ -6,7 +6,7 @@ // Custom Error Hanlder for testing function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { global $debug; - + $err_type = array ( 1 => "Error", // E_ERROR 2 => "Warning", // E_WARINING @@ -23,7 +23,7 @@ function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 4096=> "Recoverable fatal error", // E_RECOVERABLE_ERROR 8192=> "Deprecated", // E_DEPRECATED ); - + if (!empty($debug)) { printf("%s: %s (%d)\n", $err_type[$err_no], $err_msg, $linenum); } @@ -46,7 +46,7 @@ class tc public $s1 = '日本語EUC-JPの文字列'; public $s2 = 'English Text'; - function __construct() + function __construct() { } } |
