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

Refactoring file handling with minimum backward compatibility breaks #116

Closed
wants to merge 1 commit into from

Conversation

VincentChalnot
Copy link
Contributor

Trying improve the mess in here but it's very difficult without breaking interfaces.

*
* @return array|null
*/
public function readLine($length = null): ?array;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are forced to remove the readLine method because it's too much linked to CSV

@@ -13,7 +13,7 @@
/**
* Wrapper around JSON files to read them in a stream
*/
class JsonStreamFile implements FileStreamInterface, WritableFileInterface
class JsonStreamFile implements FileStreamInterface
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe there is a mistake here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should have been replaced by WritableStructuredFileInterface

@shavounet
Copy link
Contributor

shavounet commented Apr 22, 2020 via email

@njoubert-cleverage
Copy link
Member

Too much changes between proposal and main branch => So moved to #160

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

Successfully merging this pull request may close these issues.

3 participants