Skip to content

Commit 96be5f6

Browse files
committed
Suppress notice in run-tests.php
1 parent 4df652f commit 96be5f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-tests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,13 +1060,13 @@ function find_files($dir, $is_ext_dir = false, $ignore = false)
10601060
}
10611061

10621062
// Cleanup any left-over tmp files from last run.
1063-
if (substr($name, -4) == '.tmp') {
1063+
if (@substr($name, -4) === '.tmp') {
10641064
@unlink("$dir/$name");
10651065
continue;
10661066
}
10671067

10681068
// Otherwise we're only interested in *.phpt files.
1069-
if (substr($name, -5) == '.phpt') {
1069+
if (@substr($name, -5) === '.phpt') {
10701070
if ($ignore) {
10711071
$ignored_by_ext++;
10721072
} else {

0 commit comments

Comments
 (0)