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

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

: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 uses of the old `array()` syntax. Laravel adopted the short array syntax `[]` since it became available in PHP 5.4.

:warning: Shift found instances of string based class references. Laravel adopted the `::class` static property since it became available in PHP 5.5. You should update your code to use references...

:warning: The following files reference Laravel facades through the global namespace. For example, you're referencing `\DB` or importing `use DB`. Instead import `Illuminate\Support\Facades\DB` and reference `DB`. While global references are...

: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/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...

:warning: To improve performance by caching your configuration, Laravel recommends you only use the `env()` helper within configuration files and use `config()` everywhere else. Shift found potential uses of `env()`...

:information_source: Laravel 8 reintroduced the `app/Models` folder by default. This is an _optional_ change. Laravel and the `artisan` commands will automatically detect if you are using the `app/Models` folder or...