Download the PHP package cloak/markdown-reporter without Composer
On this page you can find all versions of the php package cloak/markdown-reporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cloak/markdown-reporter
More information about cloak/markdown-reporter
Files in cloak/markdown-reporter
Download cloak/markdown-reporter
More information about cloak/markdown-reporter
Files in cloak/markdown-reporter
Please rate this library. Is it a good library?
Informations about the package markdown-reporter
cloak-markdown-reporter
It has been merged into 1.3.2.4 of cloak.
It is not maintenance now.
cloak-markdown-reporter is markdown reporter for cloak.
Output in markdown format the report of code coverage.
Installation
Composer setting
Cloak can be installed using Composer.
Please add a description to the composer.json in the configuration file.
{
"require-dev": {
"cloak/markdown-reporter": "1.0.2"
}
}
Install
Please execute composer install command.
composer install
How to use
Setup for the report of code coverage
Setup is required to take a code coverage.
Run the configure method to be set up.
<?php
$analyzer = Analyzer::factory(function(ConfigurationBuilder $builder) {
$builder->reporter(new MarkdownReporter(__DIR__ . '/report.lcov'));
$builder->includeFile(function(File $file) {
return $file->matchPath('/src');
})->excludeFile(function(File $file) {
return $file->matchPath('/spec') || $file->matchPath('/vendor');
});
});
Example
You can try with the following command.
vendor/bin/phake example:basic
All versions of markdown-reporter with dependencies
PHP Build Version
Package Version
The package cloak/markdown-reporter contains the following files
Loading the files please wait ....