After upgrading Laravel from version 9 to 10, my production app encountered an error.
Declaration of Brackets\AdvancedLogger\Formatters\LineWithHashFormatter::format(array $record): string must be compatible with Monolog\Formatter\LineFormatter::format(Monolog\LogRecord $record)
I fixed the issue by overwriting the specific file in composer.json. However, others may have the same problem and would appreciate a quick solution.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
After upgrading Laravel from version 9 to 10, my production app encountered an error.
I fixed the issue by overwriting the specific file in composer.json. However, others may have the same problem and would appreciate a quick solution.
composer.json:
The fix in the
LineWithHashFormatter.php
, was fairly straightforward. Would you like me to open a pull request for this change?