Improvements 🔧
- Make GithubErrorFormatter the default when running in GitHub Actions (phpstan/phpstan-src@6fd85e3)
- If you're currently running PHPStan with
--error-format checkstyle | cs2pr
, you can omit this part from your build script! - You can override this behaviour by running with
--error-format table
.
- If you're currently running PHPStan with
- Error formatter
github
for GitHub Actions (#261), thanks @Quetzacoalt91!
Bleeding edge 🔪
- Check leading and trailing file whitespace and BOM (phpstan/phpstan-src@6905d66)
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon
:
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included.
Bugfixes 🐛
- Fix handling unpacked argument with constant arrays (phpstan/phpstan-src@a21012d), #3481