I’ve created a Laravel 5.1 application to check out the new version. I appreciate it’s still in development, but I’m noticed an issue with the make: console commands: they don’t insert the correct (full) namespace into new files.
I set my application namespace to YourFightSite\OnDemand using app:name. I then used make:model to create a model, but instead of using the full namespace, it’s instead just inserting YourFightSite (and omitting the OnDemand portion).
I haven’t observed this behavior in any of my up-to-date 5.0.x Laravel applications, so can safely say this is a 5.1-specific issue.
Are there any gotchas I should know of when using nested namespaces? Or is this a bug?