laravel / horizon

Dashboard and code-driven configuration for Laravel queues.
https://laravel.com/docs/horizon
MIT License
3.88k stars 659 forks source link

remove use of deprecated methods #1328

Closed yeighta closed 1 year ago

yeighta commented 1 year ago

On September 8, 2023, version 2.4.0 of cakephp/chronos was released. Due to this release, several methods have been deprecated. In Laravel horizon 4.x, it specifies chronos = ^2.0, which has led to exceptions being thrown in parts where the deprecated methods are used. This PR modifies the code to avoid using the deprecated methods from chronos.

crynobone commented 1 year ago

Duplicate of https://github.com/laravel/horizon/pull/1305

crynobone commented 1 year ago

Locked chronos using https://github.com/laravel/horizon/issues/1321#issuecomment-1730293615

However, you should consider upgrading to the latest Laravel as soon as you can to use the latest Horizon version as more deprecation will occur in the future if you are locked on unsupported versions.