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

Rules::format()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4286
cc 1
eloc 2
nc 1
nop 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