Skip to content

eval function can throw exception#676

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
canvural:eval-implicit-throw-point
Sep 16, 2021
Merged

eval function can throw exception#676
ondrejmirtes merged 1 commit intophpstan:masterfrom
canvural:eval-implicit-throw-point

Conversation

@canvural
Copy link
Copy Markdown
Contributor

@canvural canvural commented Sep 16, 2021

From the discussion: phpstan/phpstan#5353 (comment)

This PR adds implicit throw point to eval function.

I'm not sure if tests/PHPStan/Analyser/data/eval-implicit-throw.php test is neccessary. If not, I can remove it.

(Sorry for the late PR btw. Had holidays and got busy after it)

@ondrejmirtes ondrejmirtes merged commit 2de65e6 into phpstan:master Sep 16, 2021
@ondrejmirtes
Copy link
Copy Markdown
Member

Perfect, thank you!

@canvural canvural deleted the eval-implicit-throw-point branch September 16, 2021 19:59
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.

2 participants