Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trailing comma results in syntax error #34275

Closed
flaute opened this issue Sep 10, 2020 · 2 comments
Closed

trailing comma results in syntax error #34275

flaute opened this issue Sep 10, 2020 · 2 comments

Comments

@flaute
Copy link

flaute commented Sep 10, 2020

Error in BusServiceProvider.php line 51: syntax error, unexpected ')'

Removing the trailing comma resolves the bug.

config('queue.batching.table', 'job_batches'),

@taylorotwell
Copy link
Member

That is valid syntax in PHP 7.3, which Laravel 8 requires.

@flaute
Copy link
Author

flaute commented Sep 10, 2020

Sorry!
My provider‘s CLI was still on PHP 7.2 while the main version has been switched to PHP 7.3 already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants