Laravel 5.6 updates

Travis config update

Removed HHVM script as Laravel no longer support HHVM after releasing 5.3
This commit is contained in:
Manish Verma
2018-08-06 20:08:55 +05:30
parent 126fbb0255
commit 1ac0f42a58
2464 changed files with 65239 additions and 46734 deletions

View File

@@ -8,7 +8,7 @@ if (!function_exists('debugbar')) {
*/
function debugbar()
{
return app('debugbar');
return app(\Barryvdh\Debugbar\LaravelDebugbar::class);
}
}
@@ -21,7 +21,7 @@ if (!function_exists('debug')) {
*/
function debug($value)
{
$debugbar = app('debugbar');
$debugbar = debugbar();
foreach (func_get_args() as $value) {
$debugbar->addMessage($value, 'debug');
}
@@ -37,7 +37,7 @@ if (!function_exists('start_measure')) {
*/
function start_measure($name, $label = null)
{
app('debugbar')->startMeasure($name, $label);
debugbar()->startMeasure($name, $label);
}
}
@@ -49,7 +49,7 @@ if (!function_exists('stop_measure')) {
*/
function stop_measure($name)
{
app('debugbar')->stopMeasure($name);
debugbar()->stopMeasure($name);
}
}
@@ -63,7 +63,7 @@ if (!function_exists('add_measure')) {
*/
function add_measure($label, $start, $end)
{
app('debugbar')->addMeasure($label, $start, $end);
debugbar()->addMeasure($label, $start, $end);
}
}
@@ -76,6 +76,6 @@ if (!function_exists('measure')) {
*/
function measure($label, \Closure $closure)
{
app('debugbar')->measure($label, $closure);
debugbar()->measure($label, $closure);
}
}