Skip to content

remove use of == and != from the framework #20141

@xcombelle

Description

@xcombelle

#19995 Looks like the use of == or != leads to bugs which would be easily avoided by using only strict comparison

A simple search show that they are lot of them

$ egrep "([^']!=[^=])" . -R |wc -l
46
$ egrep "([^=!']==[^='])" . -R|wc -l
166

A good thing to do would be, once these occurrence removed would be to add a pre or post commit hook to avoid future insertions.

EDIT bad bug reference

Metadata

Metadata

Assignees

No one assigned

    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