diff --git a/forms/TreeDropdownField.php b/forms/TreeDropdownField.php index fcc4b5008..372a92ec1 100644 --- a/forms/TreeDropdownField.php +++ b/forms/TreeDropdownField.php @@ -85,8 +85,9 @@ class TreeDropdownField extends FormField { * @param bool $showSearch enable the ability to search the tree by * entering the text in the input field. */ - public function __construct($name, $title = null, $sourceObject = 'Group', $keyField = 'ID', $labelField = 'TreeTitle', - $showSearch = false) { + public function __construct($name, $title = null, $sourceObject = 'Group', $keyField = 'ID', + $labelField = 'TreeTitle', $showSearch = false + ) { $this->sourceObject = $sourceObject; $this->keyField = $keyField; diff --git a/tests/model/VersionedTest.php b/tests/model/VersionedTest.php index a671adc77..e7b11062d 100644 --- a/tests/model/VersionedTest.php +++ b/tests/model/VersionedTest.php @@ -75,7 +75,10 @@ class VersionedTest extends SapphireTest { */ public function testGetIncludingDeleted() { // Get all ids of pages - $allPageIDs = DataObject::get('VersionedTest_DataObject', "\"ParentID\" = 0", "\"VersionedTest_DataObject\".\"ID\" ASC")->column('ID'); + $allPageIDs = DataObject::get( + 'VersionedTest_DataObject', + "\"ParentID\" = 0", "\"VersionedTest_DataObject\".\"ID\" ASC" + )->column('ID'); // Modify a page, ensuring that the Version ID and Record ID will differ, // and then subsequently delete it