We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb6b81 commit 75006cfCopy full SHA for 75006cf
sapi/fpm/tests/socket-uds-too-long-filename-start.phpt
@@ -40,11 +40,7 @@ $tester->expectLogPattern(
40
41
$files = glob($socketFilePrefix . '*');
42
43
-if ($files === []) {
44
- echo 'Socket files were not found.' . PHP_EOL;
45
-}
46
-
47
-if ($socketFile === $files[0]) {
+if (isset($files[0]) && $socketFile === $files[0]) {
48
// this means the socket file path length is not an issue (anymore). Might be not long enough
49
echo 'Socket file is the same as configured.' . PHP_EOL;
50
}
0 commit comments