FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Removed E_DEPRECATED error explicit nullable types by richardbrinkman · Pull Request #132 · caxy/php-htmldiff · GitHub

Removed E_DEPRECATED error explicit nullable types - #132

Merged
jschroed91 merged 1 commit into
caxy:masterfrom
richardbrinkman:master
Jan 22, 2025
Merged

Removed E_DEPRECATED error explicit nullable types#132
jschroed91 merged 1 commit into
caxy:masterfrom
richardbrinkman:master

Conversation

Copy link
Copy Markdown
Contributor

This PR solves the E_DEPRECATED errors such as:

Caxy\\HtmlDiff\\HtmlDiffConfig::setCacheProvider(): Implicitly marking parameter $cacheProvider as nullable is deprecated, the explicit nullable type must be used instead

in file caxy/php-htmldiff/lib/Caxy/HtmlDiff/HtmlDiffConfig.php

See also https://www.php.net/manual/en/migration84.deprecated.php

After merging this PR, please make a new release as well, such that users of composer can update easily.

jschroed91 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you for the pull request, friend!

jschroed91 merged commit 5c580b4 into caxy:master Jan 22, 2025
christian-kolb pushed a commit to vera-contracts/php-htmldiff that referenced this pull request Mar 21, 2025
Co-authored-by: Richard Brinkman <r.brinkman@gmail.com>
anwa-waki added a commit to vera-contracts/php-htmldiff that referenced this pull request Apr 13, 2026
* Fix: Add explicit nullable type (caxy#130)

* php 8.2 (caxy#125)

* Correctly match newlines whitin htmltags. (caxy#122)

* Correctly match newlines in tags.

* Revert regex to current implementation while adding the PCRE_DOTALL modifier.

---------

Co-authored-by: Anne Zijlstra <a.zijlstra@iwink.nl>

* Removed E_DEPRECATED error explicit nullable types (caxy#132)

Co-authored-by: Richard Brinkman <r.brinkman@gmail.com>

* Ignore unknown characters in iconv() (caxy#135)

Resolves caxy#134

* Fix: Removed some more E_DEPRECATED error explicit nullable types (caxy#133)

Co-authored-by: Richard Brinkman <r.brinkman@gmail.com>

* Init Claude

* Add explanation of modifications

---------

Co-authored-by: Lee <8024370+millnut@users.noreply.github.com>
Co-authored-by: Steve Ayers <steveneayers@gmail.com>
Co-authored-by: pharixces <pharixces@gmail.com>
Co-authored-by: Anne Zijlstra <a.zijlstra@iwink.nl>
Co-authored-by: richardbrinkman <richardbrinkman@hotmail.com>
Co-authored-by: Richard Brinkman <r.brinkman@gmail.com>
Co-authored-by: Jürgen Haas <juergen.haas@lakedrops.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL