re-add support for custom phpcs and phpmd options

It seems that in the recent split-up of the PHP syntax checker the support for custom phpcs and phpmd options was lost. This adds that support back in.