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

Drop PHP 7.0, and update Magento driver to support PHP 7.3

This commit is contained in:
Matt Stauffer
2023-01-18 16:51:44 -05:00
parent 921f68a3ae
commit 8ba65d6a68
2 changed files with 5 additions and 2 deletions

View File

@@ -17,7 +17,6 @@ class Brew
'php@7.3',
'php@7.2',
'php@7.1',
'php@7.0',
];
const BREW_DISABLE_AUTO_CLEANUP = 'HOMEBREW_NO_INSTALL_CLEANUP=1';
const LATEST_PHP_VERSION = 'php@8.2';

View File

@@ -8,8 +8,12 @@ class Magento2ValetDriver extends ValetDriver
{
/**
* Holds the MAGE_MODE from app/etc/config.php or $ENV.
*
* Can't be correctly typed yet because PHP 7.3.
*
* @param string|null
*/
private ?string $mageMode = null;
private /*?string*/ $mageMode = null;
/**
* Determine if the driver serves the request.