So I needed to upgrade
youtube-dl, and ran
brew upgrade youtube-dl. While it was running, homebrew decided it needed to upgrade a lot more stuff, including all of my installed PHP versions... And now, none of them works like they should anymore (error messages in cli, modules not loaded, etc.).
I'm going to go on and probably reformat my machine to have a clean slate, but I wonder why running
brew upgrade while explicitely giving the package to upgrade would update others. I understand dependencies, but I highly doubt that
youtube-dl is dependent on PHP 7.4 and PHP 8.0, and others.
Is there a flag I missed? Anything else?