Wágner Alexánder Cadena Lastra -> https://github.com/wcadenacasabaca/

Results 36 comments of Wágner Alexánder Cadena Lastra -> https://github.com/wcadenacasabaca/

:information_source: Shift detected controller namespaces being set in your `RouteServiceProvider`. Laravel 8 began registering controllers using static class references instead of namespace prefixes and controller names. You may automate this...

:warning: Shift found the following config files differ from the defaults. While you are welcome to customize your configuration, you should leverage ENV variables rather than hardcode values. If you...

:warning: The following classes do not extend the standard Laravel *Model* and *Controller* class. This may add complexity which makes your application harder to upgrade. Often a *trait* can be...

:information_source: As noted, much of the _lint_ detected above can be automatically fixed using the [Laravel Fixer](https://laravelshift.com/laravel-code-fixer). Save yourself time and clean up your codebase quickly with this new _Shift_.

:warning: Shift detected Eloquent calls in the following views. You should keep *views* from interacting directly with your *models* by passing the necessary data from the *controller*. - [ ]...

:warning: The following controllers contain actions outside of the 7 resource actions (`index`, `create`, `store`, `show`, `edit`, `update`, `destroy`). For more details, review [the docs](https://laravel.com/docs/5.7/controllers#resource-controllers) or watch [Cruddy by Design](https://www.youtube.com/watch?v=MF0jFKvS4SI)...

:warning: Shift found inline validation in the following controllers. Unless you require this level of control, you should use a [Form Request](https://laravel.com/docs/5.7/validation#form-request-validation) to encapsulate this validation logic and keep your...

:warning: Shift detected the following HTTP components accessing the authenticated user through `Auth::user()`. Within these components, you can access the authenticated user through the [request object](https://laravel.com/docs/5.7/authentication#retrieving-the-authenticated-user) as well. Doing so...

:warning: Shift found opportunities to use the built-in Blade directives like `@csrf`, `@json` in the following views: - [ ] resources/views/layouts/backend.blade.php - [ ] resources/views/vendor/installer/environment-classic.blade.php - [ ] resources/views/vendor/installer/layouts/master-update.blade.php -...

:warning: Laravel contains many built-in helpers functions which allow you to write more expressive code or leverage core functionality from anywhere in your app. Shift found the following code which...