| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 9 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 17 | 	public function updateCMSFields(FieldList $fields) {    | ||
| 18 | 		$fields->removeFieldFromTab('Root', 'Timezone'); | ||
| 19 | $field = DropdownField::create( | ||
| 20 | 'Timezone', | ||
| 21 | 'Timezone', | ||
| 22 | 		  $this->getTimezones())->setEmptyString('For NZ, choose Pacific/Auckland'); | ||
| 23 | 		$fields->addFieldToTab('Root.timezone', $field); | ||
| 24 | return $fields; | ||
| 25 | } | ||
| 26 | |||
| 28 | 
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.