Skip to content

Conversation

jenswittmann
Copy link
Contributor

Prevents this error when running gitify extract on PHP 8.3:

Deprecated: modmore\Gitify\Command\ExtractCommand::extractPackages(): Implicitly marking parameter $file as nullable is deprecated, the explicit nullable type must be used instead in /.composer/vendor/modmore/gitify/src/Command/ExtractCommand.php on line 500

…citly marking parameter $file as nullable is deprecated
@Mark-H Mark-H requested a review from Copilot October 8, 2025 13:12
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a PHP 8.3 deprecation warning by explicitly marking a nullable parameter type in the ExtractCommand class.

  • Updates parameter type declaration to use explicit nullable syntax (string|null instead of implicit nullable with default null)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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