Skip to content

Conversation

@norkunas
Copy link
Contributor

Fix Deprecated: SVG\Nodes\Structures\SVGClipPath::__construct(): Implicitly marking parameter $id as nullable is deprecated, the explicit nullable type must be used instead and more

@norkunas
Copy link
Contributor Author

I guess this library does not have properly configured phpunit to report deprecations, because in last merged PR there were no reported deprecations on 8.4 CI job

@Niellles
Copy link
Contributor

Niellles commented Mar 10, 2025

@meyfa FWIW This looks good to me! 🚀
I believe a patch release would be helpful, as this is causing warnings for users—of course, whenever you have the time.

Regarding the CI not catching this, I’ll be submitting a fix for that soon.

@meyfa
Copy link
Owner

meyfa commented Mar 10, 2025

Thanks for the PR @norkunas, and thanks for the review @Niellles. LGTM as well.

@meyfa meyfa changed the title Fix PHP 8.4 deprecations fix: Fix PHP 8.4 deprecations Mar 10, 2025
@meyfa meyfa merged commit a62c2b9 into meyfa:main Mar 10, 2025
8 checks passed
@meyfa
Copy link
Owner

meyfa commented Mar 10, 2025

https://github.com/meyfa/php-svg/releases/tag/v0.16.1

@norkunas norkunas deleted the fix-deprecations branch March 11, 2025 05:46
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.

3 participants