brille24/markdown-formatter 问题修复 & 功能扩展

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

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

brille24/markdown-formatter

Composer 安装命令:

composer require brille24/markdown-formatter

包简介

Formatting a stacktrace with markdown for monolog

README 文档

README

A formatter that prints the stack trace in markdown like so:

❗ Exception occurred here:

Function Location
MarkdownFormatterTest->testStackstrace() markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestCase.php:1545
PHPUnit\Framework\TestCase->runTest() markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestCase.php:1151
PHPUnit\Framework\TestCase->runBare() markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestResult.php:726
PHPUnit\Framework\TestResult->run() markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestCase.php:903
PHPUnit\Framework\TestCase->run() markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestSuite.php:677
PHPUnit\Framework\TestSuite->run() markdown-formatter/vendor/phpunit/phpunit/src/Framework/TestSuite.php:677
PHPUnit\Framework\TestSuite->run() markdown-formatter/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:663
PHPUnit\TextUI\TestRunner->run() markdown-formatter/vendor/phpunit/phpunit/src/TextUI/Command.php:143
PHPUnit\TextUI\Command->run() markdown-formatter/vendor/phpunit/phpunit/src/TextUI/Command.php:96
PHPUnit\TextUI\Command::main() markdown-formatter/vendor/phpunit/phpunit/phpunit:98

Context:

{
    "failed_test": "some tests failed."
}

Usage

composer require brille24/markdown-formatter

Define the class Brille24\MarkdownFormatter\MarkdownFormatter as a service and use it (assuming that auto-wiring is on):

monolog:
    type: 'service'
    id: "Brille24\\MarkdownFormatter\\MarkdownFormatter"

If you want to customize the base path that the location is relative to you can pass the first argument to the root of the project eg.

service:
    Brille24\MarkdownFormatter\MarkdownFormatter:
        arguments:
            - '/some/path/to/the/project'

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固