Skip to content

Commit 4e8aaa6

Browse files
committed
ext/posix: suppress unlink() warning in PHPT
1 parent 97d8cb4 commit 4e8aaa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/posix/tests/posix_access_flags.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if (posix_access($testfile, POSIX_F_OK)) {
4444
?>
4545
--CLEAN--
4646
<?php
47-
unlink(__DIR__ . '/testfile.txt');
47+
@unlink(__DIR__ . '/testfile.txt');
4848
?>
4949
--EXPECTF--
5050
posix_access(): Argument #2 ($flags) must be a bitmask of POSIX_F_OK, POSIX_R_OK, POSIX_W_OK, and POSIX_X_OK

0 commit comments

Comments
 (0)