phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

infinite loop in never returning function is allowed

Open canvural opened this issue 1 month ago • 1 comments

Doing an infinite loop in a function that never returns is a valid use case.

closes https://github.com/phpstan/phpstan/issues/6458 closes https://github.com/phpstan/phpstan/issues/12813

canvural avatar Nov 02 '25 17:11 canvural

see https://github.com/phpstan/phpstan-src/actions/runs/19016009464 how this change affects other open bug reports

staabm avatar Nov 02 '25 18:11 staabm