Skip to content

Php84 Support #116

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Php84 Support #116

wants to merge 3 commits into from

Conversation

phpfui
Copy link

@phpfui phpfui commented Apr 1, 2025

Parameters with a default of null must be nullable is a new depreciation in PHP 8.4. Nullable parameters were introduced in PHP 7.1.

So this PR adds nullable parameter for the bool $force in the toggle method and the replaceTextWithCallback \DOMNode $domNode parameter.

I also dropped support for PHP 7.0, as it is very old and Packagist shows a monthly usage of only 0.2%.

I also updated the CI pipeline to test all versions of PHP and updated PHPUnit to 11 if needed by the PHP version.


This change is Reviewable

Copy link

sonarqubecloud bot commented Apr 1, 2025

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