GitHubChecker
in package
implements
Checker
Interfaces, Classes and Traits
Table of Contents
- URL = 'https://api.github.com/repos/bobthecow/psysh/releases/latest'
- $latest : mixed
- fetchLatestRelease() : mixed
- Set to public to make testing easier.
- getLatest() : string
- isLatest() : bool
- setLatest() : mixed
- getVersionFromTag() : string|null
Constants
URL
public
mixed
URL
= 'https://api.github.com/repos/bobthecow/psysh/releases/latest'
Properties
$latest
private
mixed
$latest
Methods
fetchLatestRelease()
Set to public to make testing easier.
public
fetchLatestRelease() : mixed
Return values
mixed —getLatest()
public
getLatest() : string
Return values
string —isLatest()
public
isLatest() : bool
Return values
bool —setLatest()
public
setLatest(string $version) : mixed
Parameters
- $version : string
Return values
mixed —getVersionFromTag()
private
getVersionFromTag() : string|null