-
Notifications
You must be signed in to change notification settings - Fork 0
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 6.x Shift #1
Merged
Merged
Commits on Jan 19, 2024
-
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions. You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root. For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
Configuration menu - View commit details
-
Copy full SHA for 0bc4949 - Browse repository at this point
Copy the full SHA 0bc4949View commit details -
Convert string references to
::class
PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP.
Configuration menu - View commit details
-
Copy full SHA for 4f099b0 - Browse repository at this point
Copy the full SHA 4f099b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0561dc9 - Browse repository at this point
Copy the full SHA 0561dc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee77e31 - Browse repository at this point
Copy the full SHA ee77e31View commit details -
Replace deprecated array and string helpers
Laravel recommends using the `Str` and `Arr` class methods directly instead of the respective helper functions. These helper functions are deprecated in Laravel 5.8 and removed in Laravel 6.
Configuration menu - View commit details
-
Copy full SHA for b36f8ff - Browse repository at this point
Copy the full SHA b36f8ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f960f0 - Browse repository at this point
Copy the full SHA 6f960f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8e60a4 - Browse repository at this point
Copy the full SHA b8e60a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21576bc - Browse repository at this point
Copy the full SHA 21576bcView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.