Review 11.5 Merged

75008[BUGFIX] Avoid yoda-style conditions in PHP

Nikita Hovratov CR +2 V +2 Normal +38 −37 updated 07/01/22, 10:28

Commit message

The core team agreed on not using yoda-style conditions in PHP. An
appropriate PHP-CS-Fixer rule to explicitly disable yoda-style has
been added to ensure that this coding style is respected. Additionally,
all yoda-style conditions have been transformed to normal conditions.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 22