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

Migrate php71 to pre-php80 #387

Open
wants to merge 6 commits into
base: php-migration
Choose a base branch
from
Open

Conversation

cinnion
Copy link

@cinnion cinnion commented Nov 5, 2024

Several migrations moving from PHP 7.1.3 to PHP 7.4 just prior to some major composer requirement changes in preparation for PHP 8.0. Many commits include a rector.log file showing the output from the rector run.

- Update composer.json PHP version.
- Create rector.php
- Set migration to 7.2
- Exclude AddClosureVoidReturnTypeWhereNoReturnRector rule.

This is a NOOP.
- Update composer.json PHP version.
- Set migration to 7.3
- Migrate
- Add log file with results of migration
- Update composer.json PHP version.
- Set migration to 7.4
- Migrate
- Add log file with results of migration

This was a noop.
- Update packages installed by composer. It should be noted that the
  following packages are abandoned (and their recommended replacements,
  if any):.

Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Package jenssegers/mongodb is abandoned, you should avoid using it. Use mongodb/laravel-mongodb instead.
Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package themsaid/laravel-routes-publisher is abandoned, you should avoid using it. No replacement was suggested.
Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package sebastian/finder-facade is abandoned, you should avoid using it. No replacement was suggested.
Package theseer/fdomdocument is abandoned, you should avoid using it. No replacement was suggested.
- Require driftingly/rector-laravel for dev environment only.
- Composer update
- NPM update(depreciated list in package-lock.json)
- Cleanup the rector.log prior to merge to establish a pattern to avoid
  merge conflicts.
@cinnion cinnion requested a review from dweinerATL as a code owner November 5, 2024 01:32
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.

1 participant