fix: #3577048 Resolve PHPStan issues

  • Suppress function.notFound for legacy drush_get_option() calls in config_inspector.drush.inc with @phpstan-ignore-next-line
  • Switch Yaml import from Drupal\Core\Serialization\Yaml (a class_alias, invisible to PHPStan) to Drupal\Component\Serialization\Yaml (real class)
  • Suppress discouragedFunctions.discouragedFunctionCalled for fnmatch() with @phpstan-ignore
  • Add missing : void return type to ValidKeysConstraintValidator::validate() to match the parent class signature

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Closes #3577048

Merge request reports

Loading