Fixes #1063 - fix phpcpd 2.0 text logger