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

Created on 19 June 2024, 5 months ago
Updated 10 July 2024, 5 months 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.71.5 2024