Statement has empty body
Reports the statements that have empty bodies.
While occasionally useful, such statements are often the result of typos and may cause confusion.
Comments count as content
Ignore 'while' loop without body
Ignore 'for' loop without body
PhpStorm 2023.3, Qodana for PHP 2023.3