Skip to content
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 8 commits into from
Jan 19, 2024
Merged

Laravel 6.x Shift #1

merged 8 commits into from
Jan 19, 2024

Commits on Jan 19, 2024

  1. Apply Laravel coding style

    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).
    laravel-shift committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    0bc4949 View commit details
    Browse the repository at this point in the history
  2. 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.
    laravel-shift committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    4f099b0 View commit details
    Browse the repository at this point in the history
  3. Shift core files

    laravel-shift committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    0561dc9 View commit details
    Browse the repository at this point in the history
  4. Leverage HOME constant

    laravel-shift committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    ee77e31 View commit details
    Browse the repository at this point in the history
  5. 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.
    laravel-shift committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    b36f8ff View commit details
    Browse the repository at this point in the history
  6. Shift config files

    laravel-shift committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    6f960f0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b8e60a4 View commit details
    Browse the repository at this point in the history
  8. Shift cleanup

    laravel-shift committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    21576bc View commit details
    Browse the repository at this point in the history