version 9.2.0
Added
- Supports for PHP7.4 empty string for the escape character.
- Supports for empty string for the escape character with a polyfill for PHP7.4- versions.
AbstractCSV::getPathname
see #321 thanks @tomkyle
Deprecated
League\Csv\RFC4180Field
useAbstractCSV::setEscape
method with an empty string instead.
Fixed
-
AbstractCSV::__construct
correctly initializes properties -
AbstractCSV::createFromString
named constructor default argument is now the empty string -
AbstractCSV::setEscape
now accepts the empty string likefputcsv
andfgetcsv
-
Writer::insertOne
fixes throwing exception when record can not be inserted -
XMLConverter
convert to string the record value to avoid PHP warning onnull
value -
Internal
Stream::createFromString
named constructor default argument is now the empty string -
Internal
Stream::fwrite
improved -
Internal
Stream::__destruct
no longer emit warning on invalid stream filter removal. -
Internal
Stream::seek
returns0
if the seeked position0
is valid see #321 thanks @HaozhouChen -
Reader:getHeader
when the record is an empty line.
Removed
- Nothing