Syntax error, unexpected ')', expecting variable (T_VARIABLE)

Created on 13 June 2024, 6 months ago
Updated 12 July 2024, 5 months ago

Problem/Motivation

Under php 7.4, dangling comma throws a parse error: ParseError: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /var/www/html/web/modules/contrib/scheduler/src/SchedulerPluginManager.php on line 33

Steps to reproduce

My case is core 9.5.11, php 7.4.

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kazajhodo

Live updates comments and jobs are added and updated live.
  • PHP 7.4

    The issue particularly affects sites running on PHP version 7.4.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024