[TASK] TYPO3 Coding Guidelines - Assignments in condition should be surrounded by the extra pair of brackets

Change-Id: Ic4300823c6851ff5e14af7c3e1b8eaee194a215a
Resolves: #54682
Reviewed-on: https://review.typo3.org/26606
Reviewed-by: Alex Kellner
Tested-by: Alex Kellner