Improvements 🔧
- Make GithubErrorFormatter the default when running in GitHub Actions (https://github.com/phpstan/phpstan-src/commit/6fd85e3b7dae790061b278852b1b34a17e3679c6)
- 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 (https://github.com/phpstan/phpstan-src/commit/6905d66cf4256eae48ae997b88fbbc58e0ad2ae8)
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 (https://github.com/phpstan/phpstan-src/commit/a21012d142b476ec5a59366319c098bb8dc40afd), #3481