We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 16 | class Framework |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * The framework application name. |
||
| 20 | * |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | public $package = 'Webshelf'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The framework version number. |
||
| 27 | * |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public $version = '2.4.0'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * The framework application website. |
||
| 34 | * |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public $website = '#'; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * The applications github repository. |
||
| 41 | * Used for getting the app version. |
||
| 42 | * |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public $repository = 'webshelf/framework'; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Get the latest github release for version checking. |
||
| 49 | * |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function githubVersion() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Check if the framework is updated to the latest version. |
||
| 59 | * |
||
| 60 | * @return bool |
||
| 61 | */ |
||
| 62 | public function isLatestVersion() |
||
| 70 | } |
||
| 71 |