To upgrade the outdated formula and casks, run the command:
brew upgrade
To list the outdated formula and casks before upgrading, run the command:
brew outdated
Note that there is a warning about an unexpected method called on the Cask ‘portfolioperformance’. Follow the instructions in the provided link to report the bug.
There is also a warning about an unexpected method called on the Cask ‘docker’, but no action is needed for this warning.