phpspec/nyan-formatters 问题修复 & 功能扩展

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

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

phpspec/nyan-formatters

Composer 安装命令:

composer require phpspec/nyan-formatters

包简介

PHPSpec Nyan Formatter Extension

README 文档

README

This PHPSpec extension provides Nyan formatters for PHPSpec.

Requirements

This extension requires:

  • PHP 5.3.3 or later.
  • A terminal emulator with support for ANSI escape sequences, including color and cursor control.

NOTE: By default, the Windows console does not support ANSI escape sequences. If you'd like to use this extension on Windows, you may want to try one of the following solutions:

Installation

To install this, make sure you are using the latest release of PHPSpec, and then add the following to your composer.json:

"require-dev": {
    ...,
    "phpspec/nyan-formatters": "2.*"
}

Install or update your dependencies, and then in a phpspec.yml file in the root of your project, add the following:

extensions:
    PhpSpec\NyanFormattersExtension\Extension: ~

Then, you can add a --format switch to your phpspec command with one of the following values:

  • nyan.cat - Gives the standard Nyan Cat formatter

nyan cat formatter preview

  • nyan.dino - Gives a dinosaur formatter - Rawwr!

nyan dino formatter preview

  • nyan.crab - Gives a crab formatter

nyan crab formatter preview

If you want to use one of the formatters all the time, you can enforce a default by adding a formatter.name option in the phpspec.yml file as follows:

formatter.name: nyan.dino

Authors

This project was written by:

Contributions

This project wouldn't have been possible without the help and support of the following people:

统计信息

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

GitHub 信息

  • Stars: 77
  • Watchers: 4
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-01-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固