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

Make all CalDAV PHP classes strict #30437

Closed
wants to merge 2 commits into from

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Dec 29, 2021

Ref nextcloud/groupware#17

This caught a previously implicit cast from a Sabre parameter to a string. Upstream code was annotated so our tools can detect this earlier next time: sabre-io/vobject#560

@ChristophWurst
Copy link
Member Author

ChristophWurst commented Dec 29, 2021

  • BUG DateTimeImmutable::setTimestamp(): Argument #1 ($timestamp) must be of type int, string given

Fixed via #30438 (extracted so we can backport)

Copy link
Contributor

@miaulalala miaulalala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I checked out the branch and played around in Calendar. If I should test anything specific, let me know.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Ref sabre-io/vobject#560

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@skjnldsv skjnldsv mentioned this pull request Mar 24, 2022
@blizzz blizzz mentioned this pull request Mar 31, 2022
This was referenced Apr 7, 2022
@blizzz blizzz modified the milestones: Nextcloud 24, Nextcloud 25 Apr 21, 2022
@ChristophWurst
Copy link
Member Author

stale

@tcitworld
Copy link
Member

But still useful, right?

@skjnldsv skjnldsv deleted the techdebt/strict-caldav-classes branch March 14, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

4 participants