Repository navigation
April Fools' Shift - #25
kingRayhan wants to merge 1 commit into
Conversation
|
Tisk tisk. Upgrade to the latest version of Laravel. With the exception of Laravel 9, all previous versions of Laravel have reached end of life. This means they no longer receive new features, bug fixes, or security updates. Even Laravel 9 no longer receives new features, and will only receive bug fixes until August. |
|
Run PHP 8.1 or higher. Previous versions of PHP are not actively supported. This means they no longer receive new features, bug fixes, or security updates. Even PHP 8.0 will only receive security updates until November. |
|
Are you a typist or a programmer? Shift did not detect a code style. Maybe you have one globally or within CI. With all the available options (PHP CodeSniffer, PHP CS Fixer, or Pint) surely you can take a few minutes to set one up so you can focus on coding and not indentation. |
|
YourRoutes@oldSchoolSyntax Laravel supports using class-based routes since Laravel 6. These became the documented convention in Laravel 8. Using class-based routes allow for runtime checking by PHP, as well as static analysis within your IDE. |
|
Adam Wathan would be disappointed. You have controllers with actions outside of the 7 resource actions (
|
|
Use what the framework provides. There is no need to access the request with a facade in your HTTP classes. Within these components you should use the request object which is automatically injected to any controller action or middleware.
|
|
Do you like slow apps or something? You are using the
|
This pull request contains comments from a sarcastic Shift bot regarding outdated practices still detected even after upgrading over 85,000 Laravel applications.
While these comments are left in jest, they are still real suggestions you might consider. Feel free to remove the
.shiftfile and commit any refactors to theshift-87883branch.Happy April Fools' Day from Shift!