Reports foreach loops that can be replaced with 'array_filter' calls.