1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 00:40:06 +01:00

Update Brew.php - Homebrew\Core Package Names (#549)

Update supportedPhpVersions to include the new names used by homebrew now that the php packages have migrated to 'core'.   php71 has become php@7.1 etc

The new names are put at the front of the list to optimise the loops that use these collections.

Anyone who installs or updates 'homebrew php' from will start using the new packages names which breaks parts of valet.
This commit is contained in:
Ed Preston
2018-04-04 00:05:22 +10:00
committed by Taylor Otwell
parent 567d38eafe
commit be8fb05110

View File

@@ -52,7 +52,7 @@ function hasInstalledPhp()
*/
function supportedPhpVersions()
{
return collect(['php', 'php72', 'php71', 'php70', 'php56']);
return collect(['php', 'php@7.2', 'php@7.1', 'php@7.0', 'php@5.6', 'php72', 'php71', 'php70', 'php56' ]);
}
/**