iTerm2: Notice about PHP7.1
Check your shell config files (i.e. .bashrc, .zshrc, etc.) Chances are, somewhere in there you're calling $(brew --prefix homebrew/php/php71), probably as part of a PATH setting. When you installed php via brew, it provided instructions for setting the path that would have included the above line.

I was seeing the exact same message, and changing this line solved the issue for me. You can change it to $(brew --prefix php@7.1) if you still need it.