made file more phpcs compliant