Skip to content

deal with phpstan warnings in DateTime - #773

Merged
shish merged 1 commit into
masterfrom
push-vylykoynzqxt
Nov 18, 2026
Merged

shish merged 1 commit into
masterfrom
push-vylykoynzqxt

Conversation

@shish

@shish shish commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

setDate() doesn't return false under any supported PHP version, so fall
back to the native setDate

modify() returns false under php8.1/8.2, 8.3 onwards throw an exception

@shish
shish force-pushed the push-vylykoynzqxt branch 7 times, most recently from e4bb8c3 to 19877ac Compare November 18, 2026 23:41
setDate() doesn't return false under any supported PHP version, so fall
back to the native setDate

modify() returns false under php8.1/8.2, 8.3 onwards throw an exception
@shish
shish force-pushed the push-vylykoynzqxt branch from 19877ac to 9783e06 Compare November 18, 2026 23:47
@shish
shish merged commit fe6403b into master Nov 18, 2026
14 checks passed
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