Skip to content

Conversation

@florianbeer
Copy link
Owner

This pull request contains changes from the Laravel PreShift to give you a feel for upgrading with Shift. All Shifts open a pull request with the changes in nice, atomic commits. This allows you to review each change in isolation.

Shifts also leave comments with details on any additional manual changes you may need to make, or changes you may want to implement to follow the latest Laravel conventions.

To complete a Shift:

  • Checkout the shift-137684 branch
  • Review all pull request comments for additional changes
  • Run composer update (if the scripts fail, try with --no-scripts)
  • Clear any config, route, or view cache
  • Thoroughly test your application (no tests?, no CI?)

If you have any issue with your Shift, never hesitate to contact support@laravelshift.com, or check out the Human Shifts for more hands-on support.

Since PHP 5.4 the short array syntax `[]` may be used instead of `array()`.
@florianbeer
Copy link
Owner Author

ℹ️ Shift detected you are currently on Laravel 4.2. The latest version is Laravel 11. To begin your upgrade, start by running the Laravel 5.0 Shift.

Since you on an older version of Laravel, Shift recommends watching upgrading old Laravel applications for tips on running multiple Shift efficiently.

@florianbeer
Copy link
Owner Author

⚠️ Shift detected a custom namespace. Laravel now recommends keeping the default App namespace. You may easily change it to the default by running: php artisan app:name App

Shift recommends changing this to align with the latest Laravel conventions and improve Shift's automation. After doing so, you may request a rerun of this Shift.

@florianbeer
Copy link
Owner Author

⚠️ Shift did not detect a code style within your project. All Shifts format your code to "normalize" files before performing comparisons. This improves the automation.Shift supports Pint, PHP CS Fixer, or PHP CodeSniffer. By default, Shift will apply the Laravel code style as defined by Pint. For more information on customizing the code style applied by Shift, you may watch this short video.

@florianbeer
Copy link
Owner Author

ℹ️ All Shifts bump core Laravel dependencies as well as popular community packages. However, some packages may have their own upgrade steps. To make review easier, Shift will note packages which are bumped major versions, as well as packages which were not bumped or potentially abandoned.

The following dependencies are now abandoned. You will need to remove or replace these packages during your upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants