Skip to content
Snippets Groups Projects
Commit 0b33621f authored by Elias Häußler's avatar Elias Häußler Committed by Nikita Hovratov
Browse files

[BUGFIX] Avoid yoda-style conditions in PHP

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.

Resolves: #97839
Releases: main, 11.5
Change-Id: Ic3a77fe412c15ec8c8d793f2b4aa6017562a4863
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75008


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
parent 5b9ba217
Branches
Tags
Showing
with 30 additions and 29 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment