for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php
/**
* Created by PhpStorm.
* User: Mark
* Date: 05/02/2017
* Time: 02:41.
*/
namespace App;
use App\Classes\Library\Services\Github;
* Class Framework.
class Framework
{
* The framework application name.
*
* @return string
public $package = 'Webshelf';
* The framework version number.
public $version = '2.4.0';
* The framework application website.
public $website = '#';
* The applications github repository.
* Used for getting the app version.
public $repository = 'webshelf/framework';
* Get the latest github release for version checking.
public function githubVersion()
return Github::latestReleaseVersion($this->repository) ?: 'unknown';
}
* Check if the framework is updated to the latest version.
* @return bool
public function isLatestVersion()
if (app()->isLocal()) {
return true;
return $this->version != $this->githubVersion();