Illegal access to constants in shipshape on govcms

Created on 18 September 2024, 3 months ago

Problem/Motivation

Civictheme is not currently passing shipshape on GovCMS

[FILE] Banned PHP methods and classes
Name
[FILE] Banned PHP methods and classes
Execution time
0.00ms
System output
{"message"=>"file: /builds/xxx/yyy/themes/civictheme/src/CivicthemeColorManager.php:\n        - line 330: Cannot access constant VERSION on Drupal"}

{"message"=>"file: /builds/xxx/yyy/themes/civictheme/src/CivicthemeStylesheetGenerator.php:\n        - line 174: Cannot access constant EXISTS_REPLACE on Drupal\\Core\\File\\FileSystemInterface"}

{"message"=>"file: /builds/xxx/yyy/themes/civictheme/src/Settings/CivicthemeSettingsFormSectionBase.php:\n        - line 146: Cannot access constant EXISTS_REPLACE on Drupal\\Core\\File\\FileSystemInterface"}

{"message"=>"file: /builds/xxx/yyy/themes/civictheme/theme-settings.provision.inc:\n        - line 575: Cannot access constant EXISTS_REPLACE on Drupal\\Core\\File\\FileSystemInterface"}

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.8

Component

Code

Created by

🇦🇺Australia sime Melbourne

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

Comments & Activities

Production build 0.71.5 2024