Close #1962 - Bump to Laravel 5.6

This commit is contained in:
Ben Word
2018-04-25 11:50:58 -06:00
parent fb7dabe369
commit 77e7ce0c64
4 changed files with 382 additions and 335 deletions

View File

@@ -23,8 +23,8 @@ $sage_error = function ($message, $subtitle = '', $title = '') {
/**
* Ensure compatible version of PHP is used
*/
if (version_compare('7', phpversion(), '>=')) {
$sage_error(__('You must be using PHP 7 or greater.', 'sage'), __('Invalid PHP version', 'sage'));
if (version_compare('7.1', phpversion(), '>=')) {
$sage_error(__('You must be using PHP 7.1 or greater.', 'sage'), __('Invalid PHP version', 'sage'));
}
/**