[ticket/12725] Add rule Squiz.PHP.DisallowSizeFunctionsInLoops in legacy

https://tracker.phpbb.com/browse/PHPBB3-12725

I don't think that this rule should be applied to the legacy code.

PHPBB3-12725
same here