1 spacemacs php layer
2 PHPUnit command/package is not installed
Was getting this error in Emacs when trying to run PHPUnit tests via phpunit.el. It's possible to change the location of the phpunit executable via
phpunit-set-dir-local-variable, but I wondered why it wasn't working out of the box (when it was on another project). Turns out that a long time ago this particular project had the
bin-dir setting in
composer.json set to something else, rather than the standard
vendor/bin (see https://getcomposer.org/doc/articles/vendor-binaries.md).
I just changed it back to the standard location, and phpunit worked fine again.