Page MenuHomeDevCentral

Check HTTP authentication code compatibility with Laravel 5.2
Closed, ResolvedPublic

Description

Composer updates Laravel from 5.2.7 to 5.2.45, then compiles:

Fatal error:
Declaration of Illuminate\Auth\SessionGuard::basic() must be compatible with Illuminate\Contracts\Auth\SupportsBasicAuth::basic($field = 'email', 
$extraConditions = Array)
in /home/app/workspace/test-notifications-php/bootstrap/cache/compiled.php on line 462

This is a blocker for T1000 deployment.

upstream https://github.com/laravel/framework/issues/15218

Event Timeline

dereckson created this task.Sep 1 2016, 21:29
dereckson claimed this task.Sep 1 2016, 21:41
dereckson closed this task as Resolved.

The issue was a stale CI cache, and the fact php clear-compiled needs the application in good standing to work.

silly_bardeen
$ cd /home/app/workspace/test-notifications-php/
$ rm bootstrap/cache/compiled.php
$ php artisan optimize
Generating optimized class loader
Compiling common classes
dereckson updated the task description. (Show Details)Sep 1 2016, 21:46
dereckson added a project: upstream.