Upgraded PuC version
This commit is contained in:
29
plugin-update-checker-5.4/Puc/v5p4/Vcs/BaseChecker.php
Normal file
29
plugin-update-checker-5.4/Puc/v5p4/Vcs/BaseChecker.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
namespace YahnisElsts\PluginUpdateChecker\v5p4\Vcs;
|
||||
|
||||
if ( !interface_exists(BaseChecker::class, false) ):
|
||||
|
||||
interface BaseChecker {
|
||||
/**
|
||||
* Set the repository branch to use for updates. Defaults to 'master'.
|
||||
*
|
||||
* @param string $branch
|
||||
* @return $this
|
||||
*/
|
||||
public function setBranch($branch);
|
||||
|
||||
/**
|
||||
* Set authentication credentials.
|
||||
*
|
||||
* @param array|string $credentials
|
||||
* @return $this
|
||||
*/
|
||||
public function setAuthentication($credentials);
|
||||
|
||||
/**
|
||||
* @return Api
|
||||
*/
|
||||
public function getVcsApi();
|
||||
}
|
||||
|
||||
endif;
|
||||
Reference in New Issue
Block a user