Add a sniff to prohibit "or" or "and" as logical operators

Created on 30 January 2025, about 1 month ago

Problem/Motivation

📌 Disallow `or` or `and` in Logical Operators (use `||` or `&&`) Active was approved 7 years ago but an issue here was not opened.

Steps to reproduce

Proposed resolution

Add a sniff to prohibit "or" or "and" as logical operators and use "||" or "&&" instead,

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

8.3

Component

Coder Review

Created by

🇳🇿New Zealand quietone

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

Comments & Activities

Production build 0.71.5 2024