Completed
Push — 42-formatter ( cff7a4 )
by Nicolas
32:10 queued 28:41
created

Rules   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 16
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A format() 0 5 1
1
<?php
2
3
namespace Karma\Formatters;
4
5
use Karma\Formatter;
6
7
class Rules implements Formatter
8
{
9
    private
10
        $rules;
11
    
12
    public function __construct(array $rules)
13
    {
14
        $this->rules = $rules;
15
    }
16
    
17
    public function format($value)
18
    {
19
        // TODO
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
20
        return $value;
21
    }
22
}
23