Page MenuHomeDevCentral

Check HTTP authentication code compatibility with Laravel 5.2
Closed, ResolvedPublic


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.


Event Timeline

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

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

$ 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.