syntax error typed properties not compatible with php 7.3

Created on 13 October 2022, over 2 years ago
Updated 22 December 2023, about 1 year ago

Problem/Motivation

syntax error, unexpected 'AccountInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in docroot/modules/contrib/auto_username/src/Form/AutoUsernameSettingsForm.php on line 26

Steps to reproduce

Drupal version : 9.3.22
PHP V 7.3

Proposed resolution

Typed properties were introduced in PHP 7.4. In order to make the module for php 7.3.x remove properties type hints
i made simple patch for this action

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium ScriptCircle

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024