File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111- Fixed a bug where a suffix when whitelisting files would default to ` src ` .
1212 This would make reports not generate in case no ` suffix ` was defined in
1313 configuration.
14+ - Fixed Text report printing (issue #12 )
1415- ` phpunit/php-code-coverage ` dependency version requirement has been updated
1516 from ` ~4.0|~5.0 ` to ` ~5.0 ` as we do not support version ` 4.0 ` anymore.
1617- Updated README to list all configuration options
Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ public function generateReport(CodeCoverage $coverage)
5252 $ options = $ this ->config ['report ' ]['options ' ];
5353
5454 $ report = $ this ->factory ->create ($ format , $ options );
55- $ report ->process ($ coverage );
55+ $ output = $ report ->process ($ coverage );
56+
57+ if ($ format === 'text ' ) {
58+ print_r ($ output );
59+ }
5660 }
5761}
You can’t perform that action at this time.
0 commit comments