-
Notifications
You must be signed in to change notification settings - Fork 22
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
Laravel Linter #168
base: desarrollo_v8
Are you sure you want to change the base?
Laravel Linter #168
Conversation
|
2 similar comments
|
|
|
ℹ️ Laravel 7 defaults the |
While global references are allowed through aliases, you should import the facade explicitly. This can improve clarity not only for developers, but static analysis used by your IDE.
|
|
|
|
|
|
|
Shift found the following code which could use a helper instead:
|
|
ℹ️ Laravel 8 reintroduced the If you wish to modernize your application to use the |
ℹ️ Shift detected controller namespaces being set in your You may automate this conversion using the Laravel Fixer or tasks within the Shift Workbench. |
|
ℹ️ As noted, much of the lint detected above can be automatically fixed using the Laravel Fixer. Save yourself time and clean up your codebase quickly with this new Shift. |
This pull request includes changes and recommendations for crafting your application "The Laravel Way". Feel free to commit any additional changes to the
shift-36868
branch.Before merging, you need to:
shift-36868
branchIf you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.