rquadling/phpstan-junit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

rquadling/phpstan-junit

Composer 安装命令:

composer require rquadling/phpstan-junit

包简介

PHPStan JUnit error reporter

README 文档

README

Build Status Code Coverage GitHub issues

PHP Version Stable Version

Total Downloads Monthly Downloads Daily Downloads

DISCLAIMER

The code in this library is heavily (and I mean VERY VERY heavily) based upon the work in mavimo/phpstan-junit. I cannot stress strongly enough how much the work there is here. It is pretty much a direct rip off!

The main purpose of this fork is to allow the JUnit error reporter to operate on PHP 7.0 with the phpstan/phpstan-shim:0.9.2, as that is my current use case.

Scope

The main scope for this project is to create error report in JUnit format that can be easily integrated in Jenkins or other tools that use this information.

How to use it

Install

You need to include this library in your project as dev-dependency.

composer require --dev rquadling/phpstan-junit

You will need to add the appropriate service entry to your phpstan.neon file in the root of your project:

services:
    errorFormatter.junit:
        class: RQuadling\PHPStan\ErrorFormatter\JunitErrorFormatter

Generate JUnit report

You can generate JUnit reports using --errorFormat junit, eg:

vendor/bin/phpstan --configuration phpstan.neon --errorFormat junit --level max --no-progress --no-interaction analyse SOURCE_CODE_DIR

Contributing

Contributions are welcome, but this particular fork will not be needed for anything other than PHP 7.0 with PHPStan-shim v0.9.2. If you do have any contributions, then I'll certainly look at them. But if it is for any version different to the ones mentioned, then it is probably best you look at Mavimo's version.

rquadling/phpstan-junit 适用场景与选型建议

rquadling/phpstan-junit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 39.75k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 10 月 18 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 rquadling/phpstan-junit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 rquadling/phpstan-junit 我们能提供哪些服务?
定制开发 / 二次开发

基于 rquadling/phpstan-junit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-18