Skip to content

$ cat psalms-redesigned-playground-adds-type-inspection-and-fix-previews.md

Psalm's Redesigned Playground Adds Type Inspection and Fix Previews

The Psalm team has merged a redesign of its browser playground, adding a Types tab, selectable error levels from 1 to 8, and diff previews before fixes are applied.

PHP News08 Nov 2026 · 3 min read · summary
Read on phpnews.net ↗
The post shows how to use the redesigned Psalm playground to inspect inferred types, using a PHP 8.5 pipe example that Psalm flags with an InvalidArgument error. It also covers the new error level picker, the diff view for reviewing auto-fixes before applying them, and editor improvements such as jump-to-definition, signature help, and keyboard shortcuts. Readers get an install-free way to test Psalm 7 code, along with a noted gap where level 1 still shows some Mixed issues as info rather than errors.

source

This is a summary of an article first published by PHP News. The full piece is on their site.

Open original