Skip to content

Conversation

@mad-briller
Copy link
Contributor

Fixes phpstan/phpstan#13874 by marking time() as being impure.

@mad-briller mad-briller force-pushed the bug13874 branch 3 times, most recently from 533868b to 45e0db7 Compare December 4, 2025 13:34
@ondrejmirtes ondrejmirtes merged commit cff7b43 into phpstan:2.1.x Dec 5, 2025
636 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

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.

greater.alwaysFalse triggers erroneously with comparison to time()

2 participants