-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hi,
When using the CLI with (Herd) PHP 8.4, I get deprecation warnings in my terminal:
`Deprecated: optional(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /Users/sjoerdstottelaar/.composer/vendor/illuminate/support/helpers.php on line 190
Deprecated: with(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /Users/sjoerdstottelaar/.composer/vendor/illuminate/support/helpers.php on line 430
Deprecated: Valet\writer(): Implicitly marking parameter $writer as nullable is deprecated, the explicit nullable type must be used instead in /Users/sjoerdstottelaar/.composer/vendor/laravel/valet/cli/includes/helpers.php on line 35
Deprecated: Valet\CommandLine::run(): Implicitly marking parameter $onError as nullable is deprecated, the explicit nullable type must be used instead in /Users/sjoerdstottelaar/.composer/vendor/laravel/valet/cli/Valet/CommandLine.php on line 36
Deprecated: Valet\CommandLine::runAsUser(): Implicitly marking parameter $onError as nullable is deprecated, the explicit nullable type must be used instead in /Users/sjoerdstottelaar/.composer/vendor/laravel/valet/cli/Valet/CommandLine.php on line 44
Deprecated: Valet\CommandLine::runCommand(): Implicitly marking parameter $onError as nullable is deprecated, the explicit nullable type must be used instead in /Users/sjoerdstottelaar/.composer/vendor/laravel/valet/cli/Valet/CommandLine.php on line 52`
I've just updated the CLI to 3.4.1, so I'm running the latest release. When switching back to PHP 8.3, the warnings are gone. The CLI is still functional, but not very usable:
