Skip to content

Commit 441c6b6

Browse files
committed
account for PHP_ZTS being a boolean value on PHP 8.4+
1 parent 75ae2ed commit 441c6b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FilesystemTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ protected function markAsSkippedIfSymlinkIsMissing($relative = false)
144144
}
145145

146146
// https://bugs.php.net/69473
147-
if ($relative && '\\' === \DIRECTORY_SEPARATOR && 1 === \PHP_ZTS) {
147+
if ($relative && '\\' === \DIRECTORY_SEPARATOR && \PHP_ZTS) {
148148
$this->markTestSkipped('symlink does not support relative paths on thread safe Windows PHP versions');
149149
}
150150
}

0 commit comments

Comments
 (0)