Skip to content

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

@nyamsprod

Description

@nyamsprod

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions