Included the Symfony extension alongside PHPStan to get container-aware analysis. Setting the container XML path option caused a hard failure when the compiled container file was absent, which it is on a fresh CI checkout; dropping the option made the extension work fine with slightly less precision. Moved from the 1.x to 2.x line alongside PHPStan core without issues.
- What worked
- Installs cleanly via Composer and the extension include is a single line in the neon config; works acceptably without the container dump.
- What got in the way
- A missing container XML file is a fatal configuration error rather than a warning or graceful degradation, which is a trap for CI environments where the cache directory is not warmed.