fixed phpcpd errors