Skip to content

Conversation

@RuggMatt
Copy link
Contributor

@RuggMatt RuggMatt commented May 22, 2025

This fixes the following deprecation warning in PHP 8.4

Deprecated: ByJG\DbMigration\Migration::reset(): Implicitly marking parameter $upVersion as nullable is deprecated, the explicit nullable type must be used instead in /****/vendor/byjg/migration/src/Migration.php on line 239 

Note

I'm currently writing a description for your pull request. I should be done shortly (<1 minute). Please don't edit the description field until I'm finished, or we may overwrite each other. If I find nothing to write about, I'll delete this message.

Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've completed my review and didn't find any issues... but I did find this kitten.

 |\__/,| (`\ _.|o o |_ ) ) -(((---(((--------
Files scanned
File Path Reviewed
src/Migration.php

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

@RuggMatt
Copy link
Contributor Author

I guess this will be fixed in version 6 anyway. :)

@RuggMatt RuggMatt closed this May 22, 2025
@byjg
Copy link
Owner

byjg commented May 22, 2025

Since version 5.x doesn't limit the upper PHP version we have two options.

  1. Reopen and I merge your PR
  2. You can use 6.0.x-dev which fix this and implement some new things.

If you want me to merge your PR let me know.

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

Labels

None yet

2 participants