mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
Fixes #756 Previously if `php` was installed as just `php` (the default Homebrew alias), Valet would not detect *which* PHP version was actually installed, and therefore `valet use` might do incorrect or unnecessary installations/links/etc. NOTE: This does NOT "convert" existing `php` alias to a numbered version. It merely accepts it as-is, but notes its version in an attempt to avoid extra installations. *NOTE: Specifally tested with PHP 7.4 and 7.3. No promises about old 5.6, etc aliases.*