定制 michaelcozzolino/psalm-html-report 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

michaelcozzolino/psalm-html-report

最新稳定版本:1.0.1

Composer 安装命令:

composer require michaelcozzolino/psalm-html-report

包简介

A Psalm plugin to generate the output in a formatted html table.

README 文档

README

An html report plugin for Psalm v5.0+.

Installation:

composer require --dev michaelcozzolino/psalm-html-report
vendor/bin/psalm-plugin enable MichaelCozzolino\PsalmHtmlReport\Plugin

Usage

While enabled, the plugin will generate an html report file named report.html every time Psalm is run without the --report command-line option.

Configuration

The default output file is report.html in the current working directory. To change this, edit the plugin's settings in psalm.xml or psalm.xml.dist to add an outputFilepath element. All paths are relative to the current working directory. Be aware that in order for the plugin to work, the specified output directory must exist.

<plugins>
    <pluginClass class="MichaelCozzolino\PsalmHtmlReport\Plugin">
        <outputFilePath>./custom-dir/html-report.html</outputFilePath>
    </pluginClass>
</plugins>

The report will not be written if another report is being requested with the --report command-line option.

If the command-line option --show-info is set, then the info level messages will also be added to the report.

Screenshots

report

统计信息

  • 总下载量: 172
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-24