From: Marcus Boerger Date: Mon, 29 Jan 2007 22:21:48 +0000 (+0000) Subject: - CS & Fix expectations X-Git-Tag: RELEASE_1_0_0RC1~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df99fd3d6180dfe66bebc71033778986bfe9c7d5;p=php - CS & Fix expectations --- diff --git a/ext/phar/tests/029.phpt b/ext/phar/tests/029.phpt index 46d8722506..37f7b4edaf 100755 --- a/ext/phar/tests/029.phpt +++ b/ext/phar/tests/029.phpt @@ -25,10 +25,13 @@ file_put_contents($fname2, $file); var_dump(Phar::loadPhar($fname1, 'hio')); var_dump(Phar::loadPhar($fname1, 'copy')); -try { -var_dump(Phar::loadPhar($fname2, 'copy')); -} catch (Exception $e) { -echo $e->getMessage(); +try +{ + var_dump(Phar::loadPhar($fname2, 'copy')); +} +catch (Exception $e) +{ + echo $e->getMessage() . "\n"; } ?> @@ -41,5 +44,5 @@ unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.php --EXPECTF-- bool(true) bool(true) - -alias "copy" is already used for archive "%s029.1.phar.php" cannot be overloaded with "%s029.2.phar.php"===DONE=== \ No newline at end of file +alias "copy" is already used for archive "%s029.1.phar.php" cannot be overloaded with "%s029.2.phar.php" +===DONE===