From b430b8b3c2ef29a231e4398a6ef1625bb2cf2f4d Mon Sep 17 00:00:00 2001 From: gggeek Date: Thu, 22 Dec 2022 11:02:24 +0000 Subject: [PATCH] formatting --- doc/build/convert.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/build/convert.php b/doc/build/convert.php index 16aa9a72..c3661b15 100644 --- a/doc/build/convert.php +++ b/doc/build/convert.php @@ -54,8 +54,7 @@ if (version_compare(PHP_VERSION, '5.4', "<")) { $processor->setSecurityPreferences(XSL_SECPREF_CREATE_DIRECTORY | XSL_SECPREF_WRITE_FILE); } } -if (is_dir($target)) -{ +if (is_dir($target)) { if (!$processor->setParameter('', 'base.dir', $target)) { error("KO setting param base.dir"); } @@ -91,7 +90,7 @@ function info($msg) echo "$msg\n"; } -function error($msg, $errcode=1) +function error($msg, $errcode = 1) { fwrite(STDERR, "$msg\n"); exit($errcode); -- 2.47.0