aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/apps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/apps.php b/tests/apps.php
index 1a9071aa2d3..d845cdf47c1 100644
--- a/tests/apps.php
+++ b/tests/apps.php
@@ -14,7 +14,7 @@ function loadDirectory($path): void {
return;
}
- while ($name = readdir($dh)) {
+ while (($name = readdir($dh)) !== false) {
if ($name[0] === '.') {
continue;
}