Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 12 |
Ratio | 92.31 % |
Changes | 0 |
1 | <?php |
||
5 | View Code Duplication | public function testGroupLastEditedIsIndexed() |
|
6 | { |
||
7 | $group = new Group(); |
||
8 | $indexes = $group->databaseIndexes(); |
||
9 | $this->assertEquals( |
||
10 | array( |
||
11 | 'LastEdited' => true, |
||
12 | 'ClassName' => true, |
||
13 | 'ParentID' => true, |
||
14 | ), |
||
15 | $indexes |
||
16 | ); |
||
17 | } |
||
18 | |||
48 |
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.