Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 12 |
Ratio | 100 % |
1 | <?php |
||
5 | View Code Duplication | public function testGroupLastEditedIsIndexed() { |
|
6 | $group = new Group(); |
||
7 | $indexes = $group->databaseIndexes(); |
||
8 | $this->assertEquals( |
||
9 | array( |
||
10 | 'LastEdited' => true, |
||
11 | 'ClassName' => true, |
||
12 | 'ParentID' => true |
||
13 | ), |
||
14 | $indexes |
||
15 | ); |
||
16 | } |
||
17 | |||
45 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.