Upgrade PHPStan levels 1–8 and update Symfony for issues_bot
### Problem/Motivation
Incrementally harden the issues_bot codebase against static analysis findings across PHPStan levels 1–8, and update the Symfony dependency to a recent version.
### Work items
- Commit(s): [7260e7ed28](https://git.drupalcode.org/project/project_analysis/-/commit/7260e7ed28ad), [2e389a1a04](https://git.drupalcode.org/project/project_analysis/-/commit/2e389a1a04d9), [4a9b820591](https://git.drupalcode.org/project/project_analysis/-/commit/4a9b82059143), [4a796cfc41](https://git.drupalcode.org/project/project_analysis/-/commit/4a796cfc41c0), [69e1aa0755](https://git.drupalcode.org/project/project_analysis/-/commit/69e1aa0755b9), [4366e78df0](https://git.drupalcode.org/project/project_analysis/-/commit/4366e78df0b4), [175db5cbad](https://git.drupalcode.org/project/project_analysis/-/commit/175db5cbadd2), [061efd236d](https://git.drupalcode.org/project/project_analysis/-/commit/061efd236ded)
### Credit
- Implemented by: @bbrala
---
*Filed retroactively as part of the Drupal 12 rector coverage effort. Closed as fixed; credit to be applied to the contributors listed above.*
*AI was used extensively to build this work and to file this issue. See [Dries Buytaert: AI-generated Rector rules for Drupal](https://dri.es/ai-generated-rector-rules-for-drupal) and [Björn Brala: Drupal Rector rules are config, not code. Mostly.](https://www.linkedin.com/pulse/drupal-rector-rules-config-code-mostly-bj%C3%B6rn-brala-vfpwe/).*
issue