SpaceUnaryOperatorSniff does not recognize T_LINE

Created on 26 March 2023, over 1 year ago
Updated 2 April 2023, about 1 year ago

Problem/Motivation

I added __LINE__ - 3 to a core test. SpaceUnaryOperatorSniff failed.

This is not wonder because the operatorSuffixAllowed list does not include T_LINE.

Steps to reproduce

https://www.drupal.org/project/drupal/issues/3349753#comment-14984242 πŸ“Œ Make Connection::expandArguments() public to allow array argument expansion outside of Connection::query() Needs work

Proposed resolution

Add T_LINE.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

8.3

Component

Coder Sniffer

Created by

πŸ‡¨πŸ‡¦Canada Charlie ChX Negyesi 🍁Canada

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

Comments & Activities

Production build 0.69.0 2024