Skip to content

Static tests: forbid 'or' instead of '||' #21062

Closed
@novikor

Description

@novikor

Summary (*)

At the moment, static tests allow to use or operator which, however, is bad coding practice.
There was a PR related to this problem: #20628

I believe ot would be nice to include this check in the static tests.

Proposed solution

Update static tests rules to cover this case

Examples (*)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions