Laravel PreShift
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-137684branch - 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 [email protected], or check out the Human Shifts for more hands-on support.
:information_source: 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.
:warning: 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.
:warning: 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.
:information_source: 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.