@luceos , I switched to PHP 8.4 a few days ago with no apparent issues after the composer update command. However, today I noticed that my php_errorlog
had grown enormously with warnings like the following one:
[25-Dec-2024 08:01:01 UTC] PHP Deprecated: Carbon\Traits\Test::setDefaultTimezone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/customer/www/myforum.com/public_html/forum/vendor/nesbot/carbon/src/Carbon/Traits/Test.php on line 203
[25-Dec-2024 08:01:01 UTC] PHP Deprecated: Return type of Carbon\Traits\Date::createFromTimestamp($timestamp, $tz = null) should either be compatible with DateTime::createFromTimestamp(int|float $timestamp): static, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/customer/www/myforum.com/public_html/forum/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php on line 29
[25-Dec-2024 08:01:01 UTC] PHP Deprecated: Carbon\CarbonTimeZone::toOffsetName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/customer/www/myforum.com/public_html/forum/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 158
[25-Dec-2024 08:01:01 UTC] PHP Deprecated: Carbon\CarbonTimeZone::toOffsetTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/customer/www/myforum.com/public_html/forum/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 172
[25-Dec-2024 08:01:01 UTC] PHP Deprecated: Carbon\CarbonTimeZone::toRegionName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/customer/www/myforum.com/public_html/forum/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 188
[25-Dec-2024 08:01:01 UTC] PHP Deprecated: Carbon\CarbonTimeZone::toRegionTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /home/customer/www/myforum.com/public_html/forum/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 230
[25-Dec-2024 08:01:01 UTC] PHP Deprecated: Illuminate\Queue\Worker::__construct(): Implicitly marking parameter $resetScope as nullable is deprecated, the explicit nullable type must be used instead in /home/customer/www/myforum.com/public_html/forum/vendor/illuminate/queue/Worker.php on line 106
In my php.ini I have:
display_errors = Off
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING
Do I have to also exclude some other type of logging?