I am currently developing an app with Laravel 5 and suddenly the artisan stoped working!
I can't use a single command on it, it always return the error:
[Symfony\Component\Debug\Exception\FatalErrorException]
syntax error, unexpected ',', expecting variable (T_VARIABLE)
I tried to update via composer but when the artisan tries to clear-complie
Command: composer update
> php artisan clear-compiled
[Symfony\Component\Debug\Exception\FatalErrorException]
syntax error, unexpected ',', expecting variable (T_VARIABLE)
Has anyone ever had this error before?