Fix phpunit issues causing all tests to fail.
### Problem/Motivation PHPUnit tests on 1.0.x exit with code 1 due to deprecation warnings, causing CI to report failure even though all tests pass. The two deprecations we can fix in this module: 1. Kernel test classes must specify the `#[RunTestsInSeparateProcesses]` attribute (deprecated in drupal:11.3.0, will throw in drupal:12.0.0). 2. `@Constraint` annotation on `FieldExists` plugin should use `#[Constraint]` attribute instead (deprecated in drupal:13.0.0). This is tracked separately in #3582951. The remaining deprecations (`SYMFONY_DEPRECATIONS_HELPER`, `cache.backend.memory`, `cache.static`, `@EntityType` annotations in AI module) are from Drupal core and contrib — not actionable from this module. ### Proposed resolution Add `#[RunTestsInSeparateProcesses]` attribute to all kernel test base classes: - `tests/src/Kernel/Tool/ToolBaseTest.php` - `tests/src/Kernel/Drush/DrushCommandTestBase.php` (covers all Drush command tests) - `modules/tool_ai_connector/tests/src/Kernel/ToolPluginBaseOverrideTest.php` ### AI usage (if applicable) - [x] **AI Assisted Issue:** This issue was generated with AI assistance, but was reviewed and refined by the creator. - [ ] **AI Assisted Code:** This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision. - [ ] **AI Generated Code:** This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human. - [ ] **Vibe Coded:** This code was generated by an AI and has only been functionally tested.
issue