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
Comments
Comment #2
thomas.feichter commentedpatch attached
Comment #5
amateescu commentedCommitted and pushed to 2.0.x and 1.0.x, thanks! I'll also release alpha5 in a few minutes.