Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito @codito.dev ยท Mar 11

Some time ago in our main app, I've introduced process for dumping #PHPStan baseline stats (total errors, sums by error identifier per area). It is automatically re-generated in our CI during production deployment. Thanks to this file and a few utils, we can now observe trends ๐Ÿ˜Š.

5 likes 1 replies

?

Replies

Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito ยท Mar 11

The chart is generated by `gnuplot`, and the input data is retrieved from Git history of a JSON file that stores #PHPStan errors' stats (cherry-picking total value using awesome `jq` tool). It is simple Proof of Concept, but it works great ๐Ÿ˜ƒ.