Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.X] fix: correct deprecated fn: lte, gte, addSecond #1304

Closed
wants to merge 1 commit into from

Conversation

JHIH-LEI
Copy link

lte deprecated:

local.ERROR: 2.5 lte() is deprecated. Use lessthanOrEquals() instead. {"exception":"[object] (ErrorException(code: 0): 2.5 lte() is deprecated. Use lessthanOrEquals() instead. at /Users/maomao/reservation-api/vendor/cakephp/chronos/src/Traits/ComparisonTrait.php:199)
[stacktrace]
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(16384, '2.5 lte() is de...', '/Users/maomao/r...', 199, Array)
#1 /Users/maomao/reservation-api/vendor/cakephp/chronos/src/Traits/ComparisonTrait.php(199): trigger_error('2.5 lte() is de...', 16384)
#2 /Users/maomao/reservation-api/vendor/laravel/horizon/src/Listeners/TrimFailedJobs.php(41): Cake\Chronos\Chronos->lte(Object(Cake\Chronos\Chronos))

gte deprecated:

local.ERROR: 2.5 gte() is deprecated. Use greaterThanOrEquals() instead. {"exception":"[object] (ErrorException(code: 0): 2.5 gte() is deprecated. Use greaterThanOrEquals() instead. at /Users/maomao/reservation-api/vendor/cakephp/chronos/src/Traits/ComparisonTrait.php:149)
[stacktrace]
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(16384, '2.5 gte() is de...', '/Users/maomao/r...', 149, Array)
#1 /Users/maomao/reservation-api/vendor/cakephp/chronos/src/Traits/ComparisonTrait.php(149): trigger_error('2.5 gte() is de...', 16384)
#2 /Users/maomao/reservation-api/vendor/laravel/horizon/src/MasterSupervisor.php(182): Cake\Chronos\Chronos->gte(Object(Cake\Chronos\Chronos))

@JHIH-LEI JHIH-LEI closed this Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant