Updated PHPUnit version in Composer, fixed Template to close output buffer in the case of invalid PHP