Problem/Motivation
ParseError: syntax error, unexpected token "readonly", expecting "abstract" or "final" or "class" in /modules/contrib/wse/modules/wse_menu/src/WseMenuCache.php on line 16
Steps to reproduce
Drupal 10.5 + PHP 8.1 + Workspaces Extra 2.0.0-alpha13
Proposed resolution
Update the fix #3559780: Decorate the cache.menu service instead of menu.active_trail to support php8.1 or add php8.2 requirement
Issue fork wse-3563693
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
garvitasakhrani commentedWorking on it.
Comment #4
garvitasakhrani commentedI’ve fixed the PHP 8.1 parse error caused by the unexpected readonly keyword and pushed the changes to the issue fork on branch 3563693-php-8.1-unexpected.
Please review and let me know if any updates are required.
Comment #8
amateescu commentedMerged, thanks!