📚 node [[2020 10 26]]

2020-10-26

  • Monday.
  • 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.

2020-10-26

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.

[[Speeding up org-publish]]

[[5tracks - week 44]]

📖 stoas
⥱ context
⥅ related node [[20200713102526 catholic_church]]