UpdataModuleType::run()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
c 1
b 0
f 0
dl 0
loc 2
rs 10
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * sets the default installation folder
4
 */
5
class UpdataModuleType extends UpdateComposer
6
{
7
    public function run()
8
    {
9
        // $json = $this->getJsonData();
10
        // if($json['type'] === 'silverstripe-module') {
11
        //     $json['type'] = 'silverstripe-vendormodule';
12
        // }
13
        //
14
        // $this->setJsonData($json);
15
    }
16
}
17