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

PHPBB3-12725