Fences 3.0.5 is broken on PHP < 8.3

Created on 4 February 2025, 2 months ago

Code at https://git.drupalcode.org/project/fences/-/blame/3.x/src/FencesConstant... assumes PHP 8.3 and fails with

ParseError: syntax error, unexpected identifier "DEFAULT_THIRD_PARTY_SETTINGS", expecting "=" in Composer\Autoload\{closure}() (line 13 of /app/web/modules/contrib/fences/src/FencesConstants.php).

otherwise. Typed class constants shouldn't be used, yet .

🐛 Bug report
Status

Active

Version

3.0

Component

Code (fences)

Created by

🇨🇿Czech Republic milos.kroulik

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024