Closed damsfx closed 4 months ago
Can you describe how this error occurs please, as I can not replicate it on php 8.1.22
Can you describe how this error occurs please, as I can not replicate it on php 8.1.22
This is just a fresh install over PHP v8.1.7.
You can read more about this notice here : https://php.watch/versions/8.0/deprecate-required-param-after-optional
You may not see the depreciated notice depending on your error_reporting
setting.
Ah ok, my PHP error_reporting
setting was ignoring deprecation notices. After enabling all reports, I can see that the deprecation notice shows on any valet command. While it doesn't impact valet's functionality, I can see how this could raise problems in the future.
Description
PHP Deprecated: Optional parameter $site declared before required parameter $debug is implicitly treated as a required parameter
Steps To Reproduce
Fresh install of latest release (v3.0.0) with PHP 8.1.7
Diagnosis