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 /run-tests.php | |
parent | 581f0141b6dd8d20e71612f90b01507ed0783db8 (diff) | |
download | php-git-902d39a3a79c6efe93c8879575fdd5a759cf03de.tar.gz |
Trim trailing whitespace in source code files
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php index f4720f5b76..2801959f10 100755 --- a/run-tests.php +++ b/run-tests.php @@ -102,7 +102,7 @@ if (empty($environment)) { } if (empty($environment['TEMP'])) { $environment['TEMP'] = sys_get_temp_dir(); - + if (empty($environment['TEMP'])) { // for example, OpCache on Windows will fail in this case because child processes (for tests) will not get // a TEMP variable, so GetTempPath() will fallback to c:\windows, while GetTempPath() will return %TEMP% for parent @@ -110,7 +110,7 @@ if (empty($environment['TEMP'])) { // the OpCache because it will be using the wrong path. die("TEMP environment is NOT set"); } else if (count($environment)==1) { - // not having other environment variables, only having TEMP, is probably ok, but strange and may make a + // not having other environment variables, only having TEMP, is probably ok, but strange and may make a // difference in the test pass rate, so warn the user. echo "WARNING: Only 1 environment variable will be available to tests(TEMP environment variable)".PHP_EOL; } |