Releases: shipmonk-rnd/phpstan-baseline-per-identifier
Releases · shipmonk-rnd/phpstan-baseline-per-identifier
2.3.0
New features
- Minimal diff when regenerating baselines (#52)
- When regenerating baseline files, the order of existing errors is now preserved.
- New errors are inserted at their sorted position among existing entries.
- This results in smaller diffs when committing updated baselines, making code reviews easier.
- Automatic cleanup of orphaned baseline files (#53)
- The
split-phpstan-baselinecommand now automatically deletes baseline files that no longer have corresponding errors. - You can remove any manual deletion step from your scripts:
- The
{
"scripts": {
"generate:baseline:phpstan": [
"phpstan --generate-baseline=baselines/_loader.neon",
- "find baselines/ -type f -not -name _loader.neon -delete",
"split-phpstan-baseline baselines/_loader.neon"
]
}
}2.2.0
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
Major changes
- Preferred approach changed (#10)
- Use
vendor/bin/split-phpstan-baselineinstead of--error-format - Script approach can utilize PHPStan's result cache!
- Use
New features
- Support PHP baselines (#12)
- Just use
baselines/loader.phpinstead ofbaselines/loader.neon
- Just use
Dependencies
- requires
phpstan/phpstan 2.0(#8)