All Projects → coderabbi → Phpumoji

coderabbi / Phpumoji

Licence: mit
PHPUnit Emoji Result Printer

Projects that are alternatives of or similar to Phpumoji

Weird Json
A collection of strange encoded JSONs. For connoisseurs.
Stars: ✭ 53 (-29.33%)
Mutual labels:  emoji
Laravel Json Schema Assertions
JSON Schema assertions for the Laravel framework
Stars: ✭ 61 (-18.67%)
Mutual labels:  phpunit
Ideogram
Insert emoji anywhere in elementary OS, even in non-native apps
Stars: ✭ 68 (-9.33%)
Mutual labels:  emoji
Awesome Emoji Picker
Add-on/WebExtension that provides a modern emoji picker that you can use to find and copy/insert emoji into the active web page.
Stars: ✭ 54 (-28%)
Mutual labels:  emoji
Mojilist
🛍 Create shopping lists with emojis!
Stars: ✭ 60 (-20%)
Mutual labels:  emoji
Emoji Regex
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Stars: ✭ 1,134 (+1412%)
Mutual labels:  emoji
Emojitaco
Alfred Emoji Script with Taco and other unicode 9 emoji
Stars: ✭ 51 (-32%)
Mutual labels:  emoji
Hexo Filter Github Emojis
github emojis for hexo! 🎉
Stars: ✭ 71 (-5.33%)
Mutual labels:  emoji
Normalize country
Convert country names and codes to a standard.
Stars: ✭ 60 (-20%)
Mutual labels:  emoji
Designpattern
设计模式
Stars: ✭ 66 (-12%)
Mutual labels:  phpunit
Unicode Proposals
Proposals for new characters to encode and canonic character sequences to register
Stars: ✭ 55 (-26.67%)
Mutual labels:  emoji
Gitmoji Commit Hook
Start the commit message with an applicable emoji
Stars: ✭ 58 (-22.67%)
Mutual labels:  emoji
Country Code Emoji
convert country codes (ISO 3166-1 alpha-2) to corresponding emoji flags (unicode regional indicator symbols)
Stars: ✭ 65 (-13.33%)
Mutual labels:  emoji
Emoji Art Generator
Use a genetic algorithm to evolve an image by putting emojies on a canvas
Stars: ✭ 53 (-29.33%)
Mutual labels:  emoji
Codefont
60余种常用的等宽字体 愉快的code吧 欢迎issues我 收录更多字体 Happy code bar with more than 60 common fonts of equal width. Welcome issues. I include more fonts.
Stars: ✭ 68 (-9.33%)
Mutual labels:  emoji
Code Review Emoji Guide
An emoji legend to help convey intention and added meaning in code review comments.
Stars: ✭ 52 (-30.67%)
Mutual labels:  emoji
Sublime Phpunit
PHPUnit support for Sublime Text
Stars: ✭ 63 (-16%)
Mutual labels:  phpunit
Rime pure
【rime小狼毫\trime同文】手机/PC一站式配置【简约皮肤\拼音搜狗词库\原创trime同文四叶草九宫格拼音方案\四叶草拼音、小鹤双拼、极品五笔、徐码、郑码】 rime配置
Stars: ✭ 73 (-2.67%)
Mutual labels:  emoji
Emoji Cli
Emoji searcher
Stars: ✭ 68 (-9.33%)
Mutual labels:  emoji
Emojis List
Complete list of standard emojis.
Stars: ✭ 65 (-13.33%)
Mutual labels:  emoji

phpumoji

PHPUnit Emoji Result Printer

Build Status Scrutinizer Code Quality StyleCI PDS Skeleton

Install

Via Composer

$ composer require coderabbi/phpumoji --dev

To enable PHPUnit emoji output, add the following two lines to the opening element of your phpunit.xml:

printerFile="vendor/coderabbi/phpumoji/src/EmojiPrinter.php"
printerClass="Coderabbi\Phpumoji\EmojiPrinter"

Usage

Usage of PHPUnit is unchanged with coderabbi/phpumoji.

Options

Select a Different Emojiset

If you wish to select an emojiset for PHPUnit emoji output, add the following additional line to the opening element of your phpunit.xml, specifying your selection:

emojiset="phpumoji"

Create a Custom Emojiset

The default emojiset is 'phpumoji'; currently that is the only emojiset available (soon, grasshopper... 😎).

If, however, you wish to create your own emojiset for PHPUnit emoji output, simply place an .emojifile in your project root and define your emojiset in the following format:

[phpumoji]
error = bomb
failure = poop
incomplete = construction
risky= game_die
skipped = see_no_evil
pass = elephant

[weird]
error = no_entry
failure = red_flag
incomplete = question
risky= clown
skipped = ghost
pass = monkey

Note that the values in the emojiset are snake-cased emoji short codes without the opening and closing colons; most existing short codes are supported, a list of supported shortcodes will be added soon.

You may choose to override one or more of the packaged emojisets (as in the case of "phumoji", above, which overrides the default emojiset), or you may define your own (as in the case of "weird", above).

Don't forget to update the opening element of your phpunit.xml with emojiset="<your_selection>", just as you would to select one of the non-default packaged emojisets.

The order of precedence is the specified emojiset in .emojifile, the specified emojiset from the packaged emojisets, the "phpumoji" emojiset from your .emojifile, and finally the the "phpumoji" emojiset from the packaged emojisets.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].