Closed prudloff-insite closed 3 years ago
Right now, only CommandNotFoundException is caught but ProcessBuilder::createArgumentsForCommand() can throw ExecutableNotFoundException.
CommandNotFoundException
ProcessBuilder::createArgumentsForCommand()
ExecutableNotFoundException
This means that if phpcbf is not available, it will fail with only:
phpcbf
The executable for "phpcfbf" could not be found.
Instead of showing the errors + suggesting to install phpcbf.
That's much better indeed! Thanks for the PR!
Right now, only
CommandNotFoundException
is caught butProcessBuilder::createArgumentsForCommand()
can throwExecutableNotFoundException
.This means that if
phpcbf
is not available, it will fail with only:Instead of showing the errors + suggesting to install
phpcbf
.