🏛 Stoas near [[@agora/2020 10 26]]
📚 Node [[2020-10-26]]
↳ 📓 Resource [[@agora/2020 10 26]]
- dist-upgraded my desktop. This is how you prevent dist-upgrade from asking you about every configuration file you've modified:
apt-get --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade
- nts "Sounds of the dawn, 22 jun 2018" is nice
- For some reason I didn't log gigafelon until today.
spacemacs php layer
The spacemacs php layer bundles together lots of nice little features. I'm not sure which bits comes from where, but currently just the basic usage of
SPC m g g to jump to definition is super handy already for spelunking around in vendor libraries.
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.