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

Fix breaking multi-line CSV values on reading #5939

Merged

Conversation

Takshil-Kunadia
Copy link
Contributor

Fixes #5412

@Takshil-Kunadia Takshil-Kunadia requested a review from a team as a code owner April 26, 2024 10:49
@thelovekesh
Copy link
Member

Related: #5935

Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, @Takshil-Kunadia !

Can you include some tests for this change? PHPUnit or Behat tests would be fine.

@Takshil-Kunadia
Copy link
Contributor Author

Thanks! @danielbachhuber . I have added Unit test for CSV Iterator and added basic tests along with the test that covers the intended scenario. Please review...

Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

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

Thanks for the PR and the tests!

@danielbachhuber danielbachhuber merged commit d96b792 into wp-cli:main Apr 26, 2024
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

\WP_CLI\Iterators\CSV breaks with multi-line CSV values
4 participants