Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Commit

Permalink
fix readme and add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Zogg committed Apr 26, 2017
1 parent 3a7fe90 commit 10f1ff8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .scrutinizer.yml
@@ -0,0 +1,18 @@
build:
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=coverage/clover.xml'
coverage:
file: 'coverage/clover.xml'
format: 'php-clover'

checks:
php: true

coding_style:
php: {}

filter:
excluded_paths:
- 'tests/*'
7 changes: 6 additions & 1 deletion README.md
Expand Up @@ -4,6 +4,7 @@
[![Total Downloads](https://poser.pugx.org/chubbyphp/chubbyphp-lazy-middleware/downloads.png)](https://packagist.org/packages/chubbyphp/chubbyphp-lazy-middleware)
[![Latest Stable Version](https://poser.pugx.org/chubbyphp/chubbyphp-lazy-middleware/v/stable.png)](https://packagist.org/packages/chubbyphp/chubbyphp-lazy-middleware)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/chubbyphp/chubbyphp-lazy-middleware/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/chubbyphp/chubbyphp-lazy-middleware/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/chubbyphp/chubbyphp-lazy-middleware/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/chubbyphp/chubbyphp-lazy-middleware/?branch=master)

## Description

Expand All @@ -19,9 +20,13 @@ Allow to lazyload commands, middlewares.

Through [Composer](http://getcomposer.org) as [chubbyphp/chubbyphp-lazy-middleware][1].

```sh
composer require chubbyphp/chubbyphp-model "~1.0"
```

## Usage

```{.php}
```php
<?php

use Chubbyphp\Lazy\LazyMiddleware;
Expand Down

0 comments on commit 10f1ff8

Please sign in to comment.