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

PHPORM-152 Fix tests for Carbon 3 #2733

Merged
merged 1 commit into from
Feb 21, 2024
Merged

PHPORM-152 Fix tests for Carbon 3 #2733

merged 1 commit into from
Feb 21, 2024

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Feb 21, 2024

Fix PHPORM-152

The virtual properties from Carbon 2.x have been removed in 3.x
https://github.com/briannesbitt/Carbon/blob/57fbbf88ce332f6da4e5aa1ea7524ef1caebb9e4/src/Carbon/CarbonPeriod.php#L49-L51

Checklist

  • Add tests and ensure they pass
  • Add an entry to the CHANGELOG.md file
  • Update documentation for new features

@GromNaN GromNaN requested a review from alcaeus February 21, 2024 13:40
@GromNaN GromNaN merged commit decbd99 into mongodb:4.2 Feb 21, 2024
15 checks passed
@GromNaN GromNaN deleted the PHPORM-152 branch February 21, 2024 14:08
alcaeus added a commit that referenced this pull request Mar 13, 2024
* 4.2:
  PHPORM-139 Implement `Model::createOrFirst()` using `findOneAndUpdate` operation (#2742)
  Test Laravel 10 and 11 (#2746)
  PHPORM-150 Run CI on Laravel 11 (#2735)
  PHPORM-152 Fix tests for Carbon 3 (#2733)
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.

2 participants