Skip to content
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

Allow null for file_put_contents $context argument #558

Merged
merged 1 commit into from Jun 16, 2021
Merged

Allow null for file_put_contents $context argument #558

merged 1 commit into from Jun 16, 2021

Conversation

steevanb
Copy link
Contributor

@steevanb steevanb commented Jun 15, 2021

Tested on PHP 7.0.0, 7.1.0, 7.2.0, 7.3.0 and 7.4.0: null is allowed, as explained in the doc (https://www.php.net/manual/en/function.file-put-contents.php)

@ondrejmirtes ondrejmirtes merged commit 93693f9 into phpstan:master Jun 16, 2021
@ondrejmirtes
Copy link
Member

Thank you.

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