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 cd173fff5d5..dba0b2618d2 100644
--- a/tests/apps.php
+++ b/tests/apps.php
@@ -19,7 +19,7 @@ function loadDirectory($path): void {
return;
}
- while ($name = readdir($dh)) {
+ while (($name = readdir($dh)) !== false) {
if ($name[0] === '.') {
continue;
}