Documentation

GitHubChecker
in package
implements Checker

Interfaces, Classes and Traits

Checker

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

Methods

fetchLatestRelease()

Set to public to make testing easier.

public fetchLatestRelease() : mixed
Return values
mixed

getLatest()

public getLatest() : string
Return values
string

setLatest()

public setLatest(string $version) : mixed
Parameters
$version : string
Return values
mixed

getVersionFromTag()

private getVersionFromTag() : string|null
Return values
string|null

Search results