mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
Dry's up PHP installation
Ref: https://github.com/laravel/valet/pull/261
This commit is contained in:
@@ -36,9 +36,7 @@ function __construct(Brew $brew, CommandLine $cli, Filesystem $files)
|
||||
*/
|
||||
function install()
|
||||
{
|
||||
if (! $this->brew->installed('php71') &&
|
||||
! $this->brew->installed('php70') &&
|
||||
! $this->brew->installed('php56')) {
|
||||
if (! $this->brew->hasInstalledPhp()) {
|
||||
$this->brew->ensureInstalled('php71', [], $this->taps);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user