Replace deprecated usage of League\Csv\ByteSequence::BOF_UTF8

Created on 19 June 2024, 9 days ago
Updated 26 June 2024, 2 days ago

Problem/Motivation

PHPStan began failing with the release of League\Csv 9.16.0 as the ByteSequence interface has been deprecated:

------ ---------------------------------------------------------- 
  Line   src/Encoder/CsvEncoder.php                                
 ------ ---------------------------------------------------------- 
  123    Fetching class constant BOM_UTF8 of deprecated interface  
         League\Csv\ByteSequence:                                  
         since version 9.16.0                                      
 ------ ---------------------------------------------------------- 

Proposed resolution

Replace it with the new Bom enum instead.

Data model changes

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States markdorison

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024