Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function testOriginalIdFieldHasHelptipAndIsReadonly() |
||
19 | { |
||
20 | $field = DMSDocumentCartSubmissionItem::create()->getCMSFields()->fieldByName('Root.Main.OriginalID'); |
||
21 | $this->assertInstanceOf('ReadonlyField', $field); |
||
22 | $this->assertContains('The original document may have been modified', $field->getDescription()); |
||
23 | } |
||
24 | } |
||
25 |
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.