Skip to content

0.4.5

Choose a tag to compare

@alies-dev alies-dev released this 14 Nov 14:03
7c3efea

Codebase#addReportableFiles() for vimeo/psalm#13725 and vimeo/psalm#13728.

Added:

  • Psalm\Codebase#addReportableFiles() lets Psalm report issues in files it neither scans nor analyzes, such as the templates a plugin compiles to PHP. Use it instead of writing to ProjectAnalyzer#$project_files, which also queues the files for analysis. Call it in the plugin entry point ($registration->codebase): files added there are reportable in every scanning and analysis process.