Unexpected identifier "LOCK_REBUILD", expecting "=" in WseMenuRequestSubscriber.php

Created on 11 November 2024, 5 months ago

Problem/Motivation

ParseError: syntax error, unexpected identifier "LOCK_REBUILD", expecting "=" in /app/web/modules/contrib/wse/modules/wse_menu/src/EventSubscriber/WseMenuRequestSubscriber.php on line 29 #0 /app/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/app/web/module...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Drupal\\wse_menu...')

The issue was encountered with PHP 8.1.30, but should also affect 8.2

Steps to reproduce

Update to wsw 2.0.0-alpha4 and run drush updb

Proposed resolution

Don't use typed constant declaration (requires PHP 8.3)

Remaining tasks

none

User interface changes

none

API changes

none

Data model changes

none

🐛 Bug report
Status

Active

Version

2.0

Component

Workspace Menu

Created by

🇮🇹Italy thomas.feichter

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

Comments & Activities

Production build 0.71.5 2024