Reports the foreach loops that can be replaced with array_filter() calls.