| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 12 |
| Ratio | 100 % |
| 1 | <?php |
||
| 18 | View Code Duplication | public function testMemberLastEditedIsIndexed() { |
|
| 19 | $member = new Member(); |
||
| 20 | $indexes = $member->databaseIndexes(); |
||
| 21 | $this->assertEquals( |
||
| 22 | array( |
||
| 23 | 'Email' => true, |
||
| 24 | 'LastEdited' => true, |
||
| 25 | 'ClassName' => true |
||
| 26 | ), |
||
| 27 | $indexes |
||
| 28 | ); |
||
| 29 | } |
||
| 30 | |||
| 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.