Add checking 'const' to Drupal.Semantics.ConstantName.ConstantStart

Created on 6 May 2023, about 1 year ago

Problem/Motivation

Working on core issue, πŸ“Œ Fix 'Drupal.Semantics.ConstantName.ConstantStart' coding standard Postponed we realized that this sniff checks constants created with 'define' and not 'const'. Given the name of the sniff that was not expected.

Can the sniff be updated to check 'const' constants or perhaps add a new sniff.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

8.3

Component

Review/Rules

Created by

πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

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

Comments & Activities

Production build 0.69.0 2024