CHash tests change a foreach to avoid and PHPMD Avoid unused local variables