Skip to content

Conversation

@rvanvelzen
Copy link
Contributor

@ondrejmirtes
Copy link
Member

Perfect, I'm 5 minutes behind you :D Thanks.


public function testBug3853(): void
{
$errors = $this->runAnalyse(__DIR__ . '/data/bug-3853.php');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I reused this test cases which had exactly the same code in it.

@ondrejmirtes
Copy link
Member

At least I did this: 2f49187

@ondrejmirtes ondrejmirtes merged commit 5f634bb into phpstan:1.6.x Apr 26, 2022
@ondrejmirtes
Copy link
Member

Thank you!

@rvanvelzen rvanvelzen deleted the constant-type-supertype-optional-key branch April 26, 2022 15:24
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.

Precision loss leads to error message about condition being "always true"

2 participants