Completed
Push — master ( 5b503b...fb127a )
by Ben
03:39
created

SimpleStyleguideControllerTest_data   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 6
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A updateStyleguideData() 0 4 1
1
<?php
2
3
namespace BenManu\SimpleStyleguide;
4
5
use SilverStripe\ORM\DataExtension;
6
use SilverStripe\Dev\TestOnly;
7
8
class SimpleStyleguideControllerTest_data extends DataExtension implements TestOnly {
9
    public function updateStyleguideData($data)
10
    {
11
        $data->setField('CustomData', 'Test');
12
    }
13
}
14