Run Rector on your code to see what it can do for you:

 <?php
 
-if (! (1 < (1 ? 2 : 1))) {
+if (1 >= 1 ? 2 : 1) {
 }
PHP snippet to change

Applied Rules:

Not a change you expect?

Config  rector.php
Rector version: 7be541 - released at 2026-06-30 23:08