Skip to content

Changing default settings for the package #536

Open
@nyamsprod

Description

Feature Request

Q A
New Feature no
BC Break yes
version 10.0

Proposal

We must revisit all default options of the package to match expected default for modern CSV handling. Changing any default from version 9 is automatically a BC break to be clearly documented.

  • escape character must default to the empty string; previously was \.
  • Reader::createFromPath must default to r open mode
  • Writer::createFromPath must default to r+ open mode

Changing the open mode will be done by removing the createFromPath method from the AbstractCSV class to implement it directly into the Reader and the Writer classes.

Should those classes be made final ❓

Activity

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

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions