/**
  * get svn version info
  *
  * @return  none
  */
 public static function checkForSVN()
 {
     if (file_exists(dirname(__FILE__) . '/.svn/entries')) {
         restore_error_handler();
         $contents = file_get_contents(dirname(__FILE__) . '/.svn/entries');
         set_error_handler('errorHandlerPsi');
         if ($contents && preg_match("/dir\n(.+)/", $contents, $matches)) {
             self::$PSI_VERSION_STRING = self::PSI_VERSION . "-r" . $matches[1];
         }
     }
 }