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 issue with league/csv #3

Open
fiedsch opened this issue Jun 12, 2024 · 0 comments
Open

Fix issue with league/csv #3

fiedsch opened this issue Jun 12, 2024 · 0 comments

Comments

@fiedsch
Copy link
Owner

fiedsch commented Jun 12, 2024

We currently need to lock league/csv to version 9.9.0 in order not to run into errors when calling

while (($line = $data_reader->getLine(Reader::SKIP_EMPTY_LINES)) !== null) {

With a too recent version of league/csv we get

PHP Fatal error:  Uncaught TypeError: League\Csv\ResultSet::League\Csv\{closure}(): Argument #1 ($record) must be of type array, null given
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

No branches or pull requests

1 participant