Fix orange 2.x pipeline: phpstan, phpcs and cspell validate failures
## Description The GitLab pipeline for the 2.x branch passes overall but renders "orange" (passed with warnings): three `allow_failure: true` jobs in the `validate` stage fail on every run. Because they are allowed to fail they do not block the pipeline, but they hide regressions and make it impossible to tell a genuinely clean run from a degraded one. The three failing jobs and their root causes are: 1. **phpstan** — `phpstan.neon` lists `src/Capability/Loader/PromptConfigLoader.php` under `excludePaths`, but that file was removed/refactored (the loader logic now lives under `src/Capability/Handler/`). PHPStan 2.x treats a non-existent exclude path as a configuration error and exits non-zero (`Path "...PromptConfigLoader.php" is neither a directory, nor a file path, nor a fnmatch pattern.`). 2. **phpcs** — 3 errors and 1 warning across three files: - `src/Capability/Handler/ResourceTemplateProviderHandler.php:15` — `Drupal.Commenting.DocComment.ShortSingleLine` (doc comment short description must be on a single line). - `src/Capability/Handler/ResourceProviderHandler.php:14` — `Drupal.Files.LineLength.TooLong` (line is 81 characters). - `modules/mcp_server_examples/mcp_server_examples.install:6,10` — `Drupal.Commenting.FileComment.SpacingAfterComment` and `Squiz.WhiteSpace.FunctionSpacing.Before`. 3. **cspell** — flags the word `sigilless`, used in the test method name `testSigillessSubstringKeyStillSurfaced` in `tests/src/Unit/Logger/McpContextLoggerTest.php`. The word is intentional (a PSR-3 context key with no `$` sigil) and should be added to the project dictionary. ## Acceptance Criteria - [ ] The phpstan job passes (exit 0) on the 2.x pipeline. - [ ] The phpcs job passes with no errors or warnings on the 2.x pipeline. - [ ] The cspell job passes on the 2.x pipeline. - [ ] The full 2.x pipeline is green (no orange/passed-with-warnings jobs) without weakening any allow_failure or skip flags. ## Additional Context Observed on pipeline https://git.drupalcode.org/project/mcp_server/-/pipelines/837838 (commit 67b66c6, ref 2.x). Failing jobs: cspell (10129075), phpstan (10129071), phpcs (10129070). The fixes are code-quality/config only and do not change module runtime behavior; phpunit already passes.
issue