Closed SGehle closed 4 years ago
Just in case you can't see the comment I did in the review, here's my message again ;-)
Thanks for the PR!
Our codestyle enforces the short array syntax. So it would need to be [null]
. Did you test if $current
ain't []
or null
instead of [null]
?
Also it would be nice if you could simplify the comparison so that the negation is applied to the two sides, i.e. !$this->sourceModel->csvSkipEmptyLines || [null] !== $current
.
I checked $current for an empty row, its [null] instead of [] or null
Merged and tagged (0.18.0). Thanks!
Add an option to skip empty lines in csv files.