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

fputcsv has a 6th parameters in PHP8.1+ #6448

Closed
nyamsprod opened this issue Jan 24, 2022 · 2 comments
Closed

fputcsv has a 6th parameters in PHP8.1+ #6448

nyamsprod opened this issue Jan 24, 2022 · 2 comments
Labels

Comments

@nyamsprod
Copy link

Bug report

In PHP8.1 fputcsv and SplFileObject::fputcsv gain a 6th parameter to allow modifying the return carriage. PHPStan still report it as a bug.

Code snippet that reproduces the problem

Snippet reproducing the bug

Expected output

PHPStan should not raise any issue in PHP8.1+

Did PHPStan help you today? Did it make you happy in any way?

PHPStan has always helped me.

@ondrejmirtes
Copy link
Member

Fixed by: phpstan/phpstan-src@0bc6afc

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants