>> drush cr
PHP Parse error: syntax error, unexpected ')' in /app/web/modules/contrib/user_expire/src/Form/UserExpireSettingsForm.php on line 44
[warning] Drush command terminated abnormally.| Comment | File | Size | Author |
|---|---|---|---|
| #3 | user_expire_syntax_error.patch | 513 bytes | cyoon84 |
Comments
Comment #2
cyoon84 commentedComment #3
cyoon84 commentedComment #4
cyoon84 commentedComment #5
gregglesLooks like this was introduced in #3095908: Drupal 9 Deprecated Code Report. It's valid syntax in PHP 7.3 and above. I'm not sure what version of PHP this module favors, necessarily. It seems better to support 7.2 if possible.
Comment #7
gregglesThanks for the patch! Now committed.