Skip to content

validateLineBreak() function in CSV File does not check for Mac Line Breaks  #29

@ssmusoke

Description

@ssmusoke

It is not clear why Mac line breaks are allowed at

https://github.com/keboola/php-csv/blob/eb77f51e22d3e13a8e14a5d5a0b588cf9e8c56c5/src/CsvFile.php#L183-186

yet they are not included in the validation at

if (in_array($lineBreak, ["\r\n", "\n"])) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions