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

PHP Deprecated: DiffMatchPatch\Patch::__construct(): #20

Closed
anywherecreative opened this issue Feb 15, 2025 · 0 comments
Closed

PHP Deprecated: DiffMatchPatch\Patch::__construct(): #20

anywherecreative opened this issue Feb 15, 2025 · 0 comments

Comments

@anywherecreative
Copy link
Contributor

This deprecation warning is due to PHP’s stricter handling of nullable parameters in recent versions (likely PHP 8.1+).

Nullable types need to be added to the constructor.

anywherecreative added a commit to anywherecreative/diff-match-patch that referenced this issue Feb 15, 2025
Fixes an issue with a deprecation

Solves issue yetanotherape#20
yetanotherape pushed a commit that referenced this issue Feb 16, 2025
Fixes an issue with a deprecation

Solves issue #20
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

No branches or pull requests

2 participants