text: Published on Tuesday 12, October 2021
  I am excited to announce my latest live stream sponsor – Esteemed! Esteemed is an AI-powered talent management and career solutions provider for digital professionals (founded by a bunch of Drupal folk and has a large Drupal talent pool network!)
  PHPStan is a static analysis tool for PHP. It finds bugs before your website runs a request and accidentally crashes due to a bug. It is also how we, as a Drupal community, achieved the Drupal 8 to Drupal 9 upgrade by analyzing code and detecting deprecated code usages. One thing PHPStan did not handle was deprecated internal functions – like each and create_function. This wasn't a problem. But as we move to Drupal 10 and PHP 8 with a lot of legacy codebases, it could be one. When you analyze code as PHP 8, you will get "function not defined" errors, but there are no warnings ahead of time these are even deprecated.
  Bug report While working on #5368, I realized that deprecated core functions were not being flagged, like create_function which was deprecated in 7.2 and removed 8.0. However, NativeFunctionReflect...
  https://github.com/phpstan/phpstan/issues/5373
  There is one pending PR on the BetterReflections library used, and then a few adjustments need to be made to PHPStan. I imagine this feature being tidied up on next week's live stream and then released shortly after!