Skip to content

Require strict operators (=== and !==) #90

@OndraM

Description

@OndraM

We should probably disallow using loose comparisons == and !=.

There is Slevomat fixer SlevomatCodingStandard.Operators.DisallowEqualOperators for this.

However, applying this change is risky, because it may change code behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions