Skip to content

Commit

Permalink
Updated changelog, added coverage composer script & some examples add
Browse files Browse the repository at this point in the history
  • Loading branch information
chajr committed Nov 20, 2018
1 parent b968c4e commit 58c8522
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Extends symfony console display style",
"type": "library",
"license": "MIT",
"version": "0.3.0.3",
"version": "0.3.0.4",
"authors": [
{
"name": "Michał Adamiak",
Expand Down Expand Up @@ -35,6 +35,10 @@
"test-cover": [
"@test",
"./vendor/bin/clover_reporter -s --ansi"
],
"test-cover-short": [
"@test",
"./vendor/bin/clover_reporter -c --ansi"
]
}
}
4 changes: 4 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file.

## 0.3.0.4 - 2018-11-
### Added
* Some new tests

## 0.3.0.3 - 2018-11-11
### Added
* Clover reporter as dev dependency
Expand Down
2 changes: 2 additions & 0 deletions examples/style.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@
$style->success('Success');

$style->genericBlock('Generic block success', 'blue', 'success', 50);
$style->genericBlock('Generic block success', 'blue', '', 50);

$style->formatBlock(['Error 1', 'Error 2'], 'error');
$style->formatBlock(['Error 1', 'Error 2'], 'info');
$style->errorLine(['Error Line']);

$style->formatSection('Section', 'Format Section info (default)');
Expand Down

0 comments on commit 58c8522

Please sign in to comment.