Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Aug 26, 2025

According to php.net/manual/en/datetime.createfromformat.php#refsect1-datetime.createfromformat-errors
since PHP 8, createFromFormat can throws ValueError when the datetime contains NULL-bytes.

see JetBrains/phpstorm-stubs#1760

@staabm staabm marked this pull request as ready for review August 26, 2025 07:03
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit a3a23b8 into phpstan:2.1.x Aug 26, 2025
273 of 274 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the build branch August 26, 2025 07: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.

3 participants