antonioribeiro / firewall

Firewall package for Laravel applications
BSD 3-Clause "New" or "Revised" License
1.39k stars 163 forks source link

Broken artisan optimize in Laravel 5.1 #61

Closed fgreinus closed 7 years ago

fgreinus commented 7 years ago

Hey guys,

i was having problems with the php artisan optimize command building bad compiled.php file.

Error when using laravel with the compiled.php generated is: PHP Fatal error: Cannot declare interface Illuminate\Contracts\Container\Container, because the name is already in use in /Users/fgreinus/Web/paladalo/bootstrap/cache/compiled.php on line 4

Do you got any suggestions on how to fix this?

Additionally: This also happens on a clean laravel 5.1 installation with only firewall installed.

RobertBoes commented 7 years ago

The issue seems to be caused by support, see antonioribeiro/support#13

antonioribeiro commented 7 years ago

Should be fixed in pragmarx/support 0.6.16.