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

[9.x] Remove default commented namespace #5816

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Feb 15, 2022

I want to propose to remove the default namespace property in the RouteServiceProvider to push people to use class referenced controllers more. The current setting causes confusion and leads to situations like laravel/framework#41021.

It also seems this setting isn't documented anymore: https://laravel.com/docs/9.x/routing

Copy link
Member

@nunomaduro nunomaduro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On top of what Dries mentioned, also confuses Larastan because there is annotations for a property that is commented.

@taylorotwell taylorotwell merged commit 376ed67 into 9.x Feb 15, 2022
@taylorotwell taylorotwell deleted the driesvints-patch-1 branch February 15, 2022 14:32
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

Successfully merging this pull request may close these issues.

3 participants