InstallerTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testrewrite() 0 3 1
1
<?php
2
3
namespace SilverStripe\Dev;
4
5
use SilverStripe\Control\Controller;
6
7
/**
8
 * Simple controller that the installer uses to test that URL rewriting is working.
9
 */
10
class InstallerTest extends Controller
11
{
12
13
    private static $allowed_actions = array(
0 ignored issues
show
introduced by
The private property $allowed_actions is not used, and could be removed.
Loading history...
14
        'testrewrite'
15
    );
16
17
    public function testrewrite()
18
    {
19
        echo "OK";
20
    }
21
}
22