[ticket/12842] Out of memory issue in code sniffer call for extensions

https://tracker.phpbb.com/browse/PHPBB3-12842

PHPBB3-12842