From: Felix Moeller Date: Sun, 4 Nov 2012 17:18:03 +0000 (+0100) Subject: Checkstyle: Fix the last two SpaceBeforeOpenBrace X-Git-Tag: v5.0.0alpha1~508^2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1205749f8cec19c30c9f58f7f97832fac9a4c502;p=nextcloud-server.git Checkstyle: Fix the last two SpaceBeforeOpenBrace --- diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php index 2503fb80b1b..02fe540d061 100644 --- a/apps/files_external/lib/webdav.php +++ b/apps/files_external/lib/webdav.php @@ -46,7 +46,7 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{ if($caview = \OCP\Files::getStorage('files_external')) { $certPath=\OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("").'rootcerts.crt'; - if (file_exists($certPath)) { + if (file_exists($certPath)) { $this->client->addTrustedCertificates($certPath); } } diff --git a/lib/util.php b/lib/util.php index d16424ce4e1..40b44bf9d6e 100755 --- a/lib/util.php +++ b/lib/util.php @@ -559,7 +559,7 @@ class OC_Util { // creating a test file $testfile = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ).'/'.$filename; - if(file_exists($testfile)){// already running this test, possible recursive call + if(file_exists($testfile)) {// already running this test, possible recursive call return false; }