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

[5.5] Fix cache repository #26497

Merged
merged 3 commits into from
Nov 13, 2018
Merged

[5.5] Fix cache repository #26497

merged 3 commits into from
Nov 13, 2018

Conversation

driesvints
Copy link
Member

Backport for #26495

PHP 7.2.12 broke the way Carbon's diffInSeconds method works. Using diffInRealSeconds instead fixes the problem.

See briannesbitt/Carbon#1503
We can pass the duration here directly.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
We need this for the diffInRealSeconds method.

Signed-off-by: Dries Vints <dries.vints@gmail.com>
@taylorotwell taylorotwell merged commit a36b3a0 into laravel:5.5 Nov 13, 2018
@GrahamCampbell
Copy link
Member

Changing the Carbon version like that is gonna break apps.

@driesvints
Copy link
Member Author

@GrahamCampbell see #26496 (comment)

@driesvints driesvints deleted the 5.5-fix-cache-repository branch November 15, 2018 10:28
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.

None yet

3 participants