Add param and methods to store the output from the last test executed, as a pre-requisite to adding failure threshold for phpcpd
Add check against optional parameter to phpcpd to set the failure threshold for test failure