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 claimed this task.

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