Fixing phpcs errors