original_string: public static function downloadReleaseArchive(string $releaseName, string $version): bool
      {
          $archiveName = $releaseName . '.tar.gz';
          $archivePath = sprintf('%s/%s', Utilities::getBasePath(), $archiveName);
          $releaseUrl = sprintf(
              'https://github.com/editorconfig-checker/editorconfig-checker/releases/download/%s/%s',
              $version,
              $archiveName
          );
  
          $result = file_put_contents($archivePath, fopen($releaseUrl, 'r'));
          return $result > 0 || $result;
      }
code: public static function downloadReleaseArchive(string $releaseName, string $version): bool
      {
          $archiveName = $releaseName . '.tar.gz';
          $archivePath = sprintf('%s/%s', Utilities::getBasePath(), $archiveName);
          $releaseUrl = sprintf(
              'https://github.com/editorconfig-checker/editorconfig-checker/releases/download/%s/%s',
              $version,
              $archiveName
          );
  
          $result = file_put_contents($archivePath, fopen($releaseUrl, 'r'));
          return $result > 0 || $result;
      }
code_tokens: public static function downloadReleaseArchive ( string $ releaseName , string $ version ) : bool { $ archiveName = $ releaseName . '.tar.gz' ; $ archivePath = sprintf ( '%s/%s' , Utilities :: getBasePath ( ) , $ archiveName ) ; $ releaseUrl = sprintf ( 'https://github.com/editorconfig-checker/editorconfig-checker/releases/download/%s/%s' , $ version , $ archiveName ) ; $ result = file_put_contents ( $ archivePath , fopen ( $ releaseUrl , 'r' ) ) ; return $ result > 0 || $ result ; }
docstring: Downloads the release from the release page
docstring_tokens: Downloads the release from the release page