Please also add a non-functional test for the validation function you add per https://github.com/phpbb/phpbb3/pull/1407/files#r4232843