dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.33k stars 1.25k forks source link

Laravel / Lumen 5.5 Commands are broken #1462

Open bionicmaster opened 7 years ago

bionicmaster commented 7 years ago
Q A
Bug? yes
New Feature? no
Framework Laravel/Lumen
Framework version 5.5.*
Package version 1.0.*
PHP version 7.0.0

Actual Behaviour

when you try to run a command for example, php artisan route:list it breaks due to change in Laravel 5.5 about not using fire but handle in Commands

Expected Behaviour

It must work

Steps to Reproduce

Use any command under laravel / lumen 5.5

Possible Solutions

add: public handle() { $this->fire(); } to the commands