Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 2 years ago.
0

Hi again,

I've managed to fix the issue. It turns out I had mistakenly added a tab character before an opening <?php namespace... in one of Laravel's files while digging into the framework.

To find the file in question, I temporarily modified Namespace.php on the line that echoes the error "Namespace declaration statement..." and did a var_dump there for the $stmts variable, which showed me the file that was problematic.

Hope this helps anyone that might run into something similar in the future.

Last updated 2 years ago.
0

Thank ZiadSalah,you have really helped

0

You are welcome!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ZiadSalah ziadsalah Joined 26 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.