PHPStan exits with no output at all when a scaffolded path like src is deleted later

When

Running composer phpstan / composer quality after removing an empty src/{Domain,...} directory that kalimera scaffolded for the Core structure, once the project ends up not using it.

Why it happens

QualityToolsInstall::stripSrcPathUnlessScaffolded only strips the - src path from phpstan.neon.dist (and rector.php) automatically when the Core structure was never chosen during scaffolding. If it was scaffolded and src/ is deleted afterwards, phpstan.neon.dist still lists a path that no longer exists on disk, and PHPStan — run through Sail's docker exec — fails on that with a bare exit code 1 and zero output instead of a clear error, which reads as a crash rather than a config problem.

Fix

Remove the stale - src line from phpstan.neon.dist (and __DIR__.'/src' from rector.php if present) to match the current codebase, or restore an empty src/.gitkeep if the Core structure is still wanted. Confirm with sail composer phpstan — it should print real output (pass, or a list of errors) instead of failing silently. This isn't a bug in kalimera's own scaffolding logic (a fresh scaffold that skips Core strips the path correctly) — it's a trap for whoever deletes src/ by hand after the fact without touching the generated configs.

Still stuck? Open an issue with your --log transcript.

All troubleshooting entries