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:
committed by
Taylor Otwell
parent
567d38eafe
commit
be8fb05110
@@ -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' ]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user