Fix where phpcs was failing for alternate control structure