Skip to content

Commit 4502201

Browse files
committed
Test fixes
1 parent ae44843 commit 4502201

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ext/phar/tests/gh20732.phpt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ phar
55
--FILE--
66
<?php
77
try {
8-
Phar::LoadPhar('.');
8+
@Phar::LoadPhar('.');
99
} catch (PharException $e) {
1010
echo $e->getMessage(), "\n";
1111
}
1212
?>
1313
--EXPECTF--
14-
Notice: Phar::loadPhar(): Read of 8192 bytes failed with errno=21 Is a directory in %s on line %d
15-
internal corruption of phar "/run/media/niels/MoreData/php-8.3" (truncated entry)
14+
%r(internal corruption of phar "%s" \(truncated entry\)|unable to open phar for reading ".")%r

0 commit comments

Comments
 (0)