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