@@ -192,7 +192,7 @@ private function _initModulesConfig($dir)
192192 }
193193
194194 /** format long names*/
195- static public function sliceName ($ name , $ nchar )
195+ public static function sliceName ($ name , $ nchar )
196196 {
197197 if (strlen ($ name ) > $ nchar )
198198 {
@@ -208,7 +208,7 @@ static public function sliceName($name, $nchar)
208208 }
209209
210210 /** create init file*/
211- static public function createInitFile ($ path , $ data )
211+ public static function createInitFile ($ path , $ data )
212212 {
213213 if (!is_writable (dirname ($ path )))
214214 {
@@ -247,7 +247,7 @@ static public function createInitFile($path, $data)
247247 return $ text ;
248248 }
249249 /** PHP md5_file is very slow on large file. If md5 sum is on the system we use it. */
250- static public function md5file ($ filename )
250+ public static function md5file ($ filename )
251251 {
252252 // If we have md5 sum
253253 if (Zend_Registry::get ('configGlobal ' )->md5sum ->path )
@@ -296,7 +296,7 @@ static function checkPhpExtensions($phpextensions)
296296 * which is not supported by PHP's filesize()
297297 * @param path Path of the file to check
298298 */
299- static public function fileSize ($ path )
299+ public static function fileSize ($ path )
300300 {
301301 if (strpos (strtolower (PHP_OS ), 'win ' ) === 0 )
302302 {
@@ -314,7 +314,7 @@ static public function fileSize($path)
314314 * Format file size. Rounds to 1 decimal place and makes sure
315315 * to use 3 or less digits before the decimal place.
316316 */
317- static public function formatSize ($ sizeInBytes , $ separator = ', ' )
317+ public static function formatSize ($ sizeInBytes , $ separator = ', ' )
318318 {
319319 $ suffix = 'B ' ;
320320 if (Zend_Registry::get ('configGlobal ' )->application ->lang == 'fr ' )
@@ -344,7 +344,7 @@ static public function formatSize($sizeInBytes, $separator = ',')
344344 }
345345
346346 /** Safe delete function. Checks ifthe file can be deleted. */
347- static public function safedelete ($ filename )
347+ public static function safedelete ($ filename )
348348 {
349349 if (!file_exists ($ filename ))
350350 {
0 commit comments