Issue #3451212: Drupal 11 compatibility fixes

Closes #3451212

  • Declare Drupal 11 compatibility in minikanban_agent.info.yml
  • Fix ContextDefinitionNormalizer instantiation in all function call plugins: pass module_handler service to constructor, which was added in drupal/ai 1.2.x to support hook_ai_tools_property_alter(); update minimum drupal/ai constraint from ^1.1.0@dev to ^1.2
  • Replace PDO::FETCH_FUNC in AsyncJobManager with FETCH_ASSOC and manual unpacking - FETCH_FUNC was removed from Drupal 11's list of allowed PDO fetch modes
  • Fix MinikanbanRunnerCommand::handleSignal() to include the $previousExitCode parameter required by Symfony 7's updated SignalableCommandInterface
  • Remove AutocompleteController and its route - not used and PHPStan was complaining about non-existent ai_interpolator_agent module
  • Replace Drupal\Core\Serialization\Yaml with Drupal\Component\Serialization\Yaml - not really necessary, but PHPStan couldn't resolve Core namespace

Merge request reports

Loading