ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW) for PHP version less than 8

Created on 8 May 2023, over 1 year ago
Updated 22 August 2023, about 1 year ago

Problem/Motivation

Composer warning is showing on production (php8.1.18) but not on separate dev machine (php8.1.6).

ParseError: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in Composer\Autoload\includeFile() (line 508 of modules/contrib/charts/src/Element/ChartDataCollectorTable.php).

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇺🇸United States crutch

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

Comments & Activities

Production build 0.71.5 2024