Fixing broken PhpWorker tests

Constructor change resulted in `PhpWorker` tests failing. Not mocking
`Filesystem` though as it would be too much work for such a small
benefit.