mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
PHP 8.2 support (#1279)
* PHP 8.2 support * wip * Apply fixes from StyleCI * wip * wip * wip * Update tests.yml Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
@@ -9,6 +9,7 @@ class Brew
|
||||
{
|
||||
const SUPPORTED_PHP_VERSIONS = [
|
||||
'php',
|
||||
'php@8.2',
|
||||
'php@8.1',
|
||||
'php@8.0',
|
||||
'php@7.4',
|
||||
|
||||
@@ -168,7 +168,7 @@ public function fpmConfigPath($phpVersion = null)
|
||||
$versionNormalized = $this->normalizePhpVersion($phpVersion === 'php' ? Brew::LATEST_PHP_VERSION : $phpVersion);
|
||||
$versionNormalized = preg_replace('~[^\d\.]~', '', $versionNormalized);
|
||||
|
||||
return BREW_PREFIX."/etc/php/${versionNormalized}/php-fpm.d/valet-fpm.conf";
|
||||
return BREW_PREFIX."/etc/php/{$versionNormalized}/php-fpm.d/valet-fpm.conf";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user