Hi!
I'm trying to use Valet with PHP 7.2 but brew says me "Unable to determine linked PHP".

With PHP 7.0 or 7.1 everything works perfect!

Thanks!
https://github.com/Homebrew/homebrew-php/commit/8771c68f3ddfee62d9e97177449010c2968f91d1#diff-4739b7cd74be3128a6b717288e740259
Homebrew migrated the php7.2 to the core php ... now valet is broken for 7.2
Somehow fixed this with some hardcoding (and broke the version switching). Looking forward for a "real" fix.
I'm facing the same issue. Anything new here? Or is there a workaround beside switching back to 7.1? Appreciate your support!

I have the same, or maybe similar problem when switching from php70 to php7.1.
When i try to switch from 7.0 to 7.1, i get this message after the [php71] Installing:
Warning: [email protected] is keg-only and must be linked with --force
After [php70] Stopping i get this: PHP Warning: readlink(): No such file or directory in /Users/XXXXX/.composer/vendor/weprovide/valet-plus/cli/Valet/Filesystem.php on line 314
After some stack trace, i get Unable to determine linked PHP.
Check if which php contains the correct php version. If it does, use ln -s $(which php) /usr/local/bin/php to link. (it's still a workaround, but it works)
Please try our new release. After upgrading, please run ‘valet fix’ followed by ‘valet install’. Please open a new ticket or join our chat on gitter if you encounter any issues.
Most helpful comment
Check if
which phpcontains the correct php version. If it does, useln -s $(which php) /usr/local/bin/phpto link. (it's still a workaround, but it works)