Issue #3298199 by andypost: Upgrade phpstan/phpstan to 1.8.2 for support of PHP 8.2 #[\AllowDynamicProperties] attribute (cherry picked from commit 94c7446e)