Skip to content

Convert some warnings to errors in SPL #4991

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

Closed
wants to merge 2 commits into from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Dec 8, 2019

No description provided.

php_error_docref(NULL, E_WARNING, "object or string expected");
RETURN_FALSE;
zend_type_error("object or string expected");
return;
Copy link
Member

Choose a reason for hiding this comment

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

The changes in this file are okay (pls commit), but the changes to SplFileObject should imho only be done if we have modified normal f* functions in the same way, which doesn't seem to be the case.

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

Successfully merging this pull request may close these issues.

3 participants