Replying to @psalmphp @gregorharlan
And
3. Psalm now outputs PHP version it uses for code analysis (and explains why it uses it)
Replying to @psalmphp @gregorharlan
2. Psalm now highlights file names to provide visual anchors
While most of the work on Psalm is about getting it understand your code right, there's a place for UI improvements as well.
There are several that are either already shipped or coming soon:
1. Psalm now linkifies files in supporting terminals (thanks to @gregorharlan)
It’s not a difference from reality — it’s a different way of displaying the same data. The glass-half-empty version is that PHPStan is 4x more popular (and will likely remain that way). The glass-half-full version is that Psalm has closed that gap considerably:
Meta content: this is the growth in popularity (measured by @packagist & using a log scale) of Psalm and PHPStan over the last 4 years. It shows that there's a healthy appetite for both in the PHP ecosystem — that one's growth hasn't come at the expense of the other.
Psalm 4.6 is out with much-improved IDE integration. Static screenshots don't do it justice – instead, watch @joe_hoyle's demo of the awesome features he's recently added:
On Wednesday, I (@mattbrowndev) spent an hour talking about Psalm with the fine folk of @PhpReleaseRadar. There are no stunning revelations, but I hope it gives you a decent idea of who I am, and what Psalm is: youtube.com/watch?v=ZE9Wng48…. My parents were proud...
Replying to @github
@GitHub repos have a tab for maintainers to help monitor security alerts. Here’s a new action that runs Psalm’s security analysis, then sends results to that tab: github.com/psalm/psalm-githu…
Many thanks to @LukasReschke, who has done amazing work to improve Psalm’s security analysis
For three years I've been closing issues that asked for Psalm to understand this sort of code, because I thought it was too complicated.
You can now experiment with automatic code fixes right on Psalm's website – just look for this button: psalm.dev/r/99f92ccbd9
A match ($made_in_heaven): PHP 8 introduces match expressions (thanks to @IlijaTovilo), and Psalm will provide full support. Play around with the upcoming feature here: psalm.dev/r/82bcedc134











