TestObject
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 7
1
<?php
2
3
namespace eNTiDi\Autotoc\Tests;
4
5
use SilverStripe\ORM\DataObject;
6
use SilverStripe\Dev\TestOnly;
7
8
/**
9
 * Provided directly by this class:
10
 *
11
 * @property string $Content
12
 * @property string $Test2
13
 *
14
 * Inherited from Autotoc:
15
 *
16
 * @method   string getAutotoc()
17
 * @method   void   clearAutotoc()
18
 * @method   string getBodyAutotoc()
19
 * @method   string getContentField()
20
 * @method   string getOriginalContentField()
21
 * @property string $Autotoc
22
 * @property string $ContentField
23
 * @property string $OriginalContentField
24
 */
25
class TestObject extends DataObject implements TestOnly
26
{
27
    private static $db = [
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
Unused Code introduced by
The property $db is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
28
        'Content' => 'HTMLText',
29
        'Test2'   => 'HTMLText',
30
    ];
31
}
32