Migrate to League\Csv 9.0 (#5335)

OC 1.1 require `league/csv: ~9.1` but use code from 8.x on ImportExport behavior.
https://csv.thephpleague.com/9.0/upgrading/
This commit is contained in:
Alvaro Cánepa 2020-11-20 18:41:05 -03:00 committed by GitHub
parent d7d6faeedb
commit e2eb299bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -803,9 +803,9 @@ class ImportExportController extends ControllerBehavior
if (
$options['encoding'] !== null &&
$reader->isActiveStreamFilter()
$reader->supportsStreamFilter()
) {
$reader->appendStreamFilter(sprintf(
$reader->addStreamFilter(sprintf(
'%s%s:%s',
TranscodeFilter::FILTER_NAME,
strtolower($options['encoding']),