- Issue created by @littlepixiez
- @littlepixiez opened merge request.
- Status changed to Needs review
over 1 year ago 8:32am 19 June 2023 - Status changed to Closed: outdated
6 months ago 11:00am 16 May 2024
PriceListItemImportForm.php contains deprecated code and gives warning for PHP 8.1:
WARNING | INI directive 'auto_detect_line_endings' is deprecated since PHP 8.1
Reading about this INI directive and the thread on issue #3254327 → from the CSV Serialization module, I think it's safe to remove this line.
auto_detect_line_endings directive only enables line-ending detection for \r characters, which are only used in legacy ("classic") Mac OS environments. It is not necessary to enable auto_detect_line_endings for PHP to detect standard \n and \r\n line-endings, which are common and used in Linux, Mac OS, and Windows systems.
Closed: outdated
2.0
Code
The issue particularly affects sites running on PHP version 8.1.0 or later.