Sage Stubs Sage Stubs is used to statically analyse codebases to ensure compatibility with the Sage starter theme. Usage with Psalm Update the Psalm config to include the stubs: <stubs> <file name="vendor/kimhf/sage-stubs/sage-stubs.php" /> </stubs>