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

Command icon 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

loon created an issue. See original summary.

garvitasakhrani’s picture

Assigned: Unassigned » garvitasakhrani

Working on it.

garvitasakhrani’s picture

Assigned: garvitasakhrani » Unassigned
Status: Active » Needs review

I’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.

amateescu made their first commit to this issue’s fork.

amateescu’s picture

Version: 2.0.0-alpha13 » 2.0.x-dev
Status: Needs review » Fixed

Merged, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.