Coding standard means this should be:
for ($i = 1; $i <= 8; $i++) {