Skip to content

fix deprecation warnings#137

Open
klkvsk wants to merge 2 commits intowmde:masterfrom
klkvsk:fix-deprecation-warnings
Open

fix deprecation warnings#137
klkvsk wants to merge 2 commits intowmde:masterfrom
klkvsk:fix-deprecation-warnings

Conversation

@klkvsk
Copy link
Copy Markdown

@klkvsk klkvsk commented Dec 20, 2023

Some analyzers (e.g. Symfony DebugClassLoader) advise to add @return annotation along with #[ReturnTypeWillChange]:

"User Deprecated: Method "ArrayObject::unserialize()" might add "void" as a native return type declaration in the future. Do the same in child class "Diff\DiffOp\Diff\Diff" now to avoid errors or add an explicit @return annotation to suppress this message."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant