Tweak PHPStan config so paths are always correct and baseline is more usable
Problem/Motivation
Follow on from #3395419: Allow contrib modules to run PHPStan via GitLab CI
Proposed resolution
- Run PHPStan from module directory so paths are correct
- Remove baseline before generating a new one
- Add new variable
_PHPSTAN_BASELINE_FILENAMEwith default value 'phpstan-baseline.neon'
Remaining tasks
User interface changes
API changes
Data model changes
Related issue: Issue #3445001
Edited by drupalbot