Added class_exists to PHPCPDTask and PHPLocTask