Permalink
Browse files

MINOR Add newline to end of files without one

  • Loading branch information...
1 parent f57a763 commit f8082e4814f7a8669dab633c28cf3abb250ec7f1 @simonwelsh simonwelsh committed with halkyon Mar 24, 2012
Showing with 213 additions and 212 deletions.
  1. +1 −1 admin/code/CMSBatchAction.php
  2. +1 −1 admin/code/CMSPreviewable.php
  3. +1 −1 admin/code/CMSProfileController.php
  4. +1 −1 admin/code/LeftAndMainDecorator.php
  5. +1 −1 admin/code/LeftAndMainExtension.php
  6. +1 −1 admin/tests/CMSMenuTest.php
  7. +1 −1 admin/thirdparty/history-js/tests.src/each.php
  8. +1 −1 api/XMLDataFormatter.php
  9. +1 −1 cache/Cache.php
  10. +1 −1 cli/CliController.php
  11. +1 −1 control/PjaxResponseNegotiator.php
  12. +1 −1 core/Config.php
  13. +1 −1 core/DAG.php
  14. +1 −1 core/HTMLCleaner.php
  15. +1 −1 core/PaginatedList.php
  16. +1 −1 core/manifest/ConfigManifest.php
  17. +1 −1 core/manifest/ManifestFileFinder.php
  18. +1 −1 core/manifest/TemplateLoader.php
  19. +1 −1 core/manifest/TemplateManifest.php
  20. +1 −1 core/manifest/TokenisedRegularExpression.php
  21. +1 −1 dev/Backtrace.php
  22. +1 −1 dev/CSSContentParser.php
  23. +1 −1 dev/CodeViewer.php
  24. +1 −1 dev/Deprecation.php
  25. +1 −1 dev/Log.php
  26. +1 −1 dev/LogEmailWriter.php
  27. +1 −1 dev/LogErrorEmailFormatter.php
  28. +1 −1 dev/LogErrorFileFormatter.php
  29. +1 −1 dev/LogFileWriter.php
  30. +1 −1 dev/SysLogWriter.php
  31. +1 −1 dev/TestListener.php
  32. +1 −1 dev/TestMailer.php
  33. +1 −1 dev/TestSession.php
  34. +1 −1 dev/TestViewer.php
  35. +1 −1 dev/ZendLog.php
  36. +1 −1 dev/install/DatabaseAdapterRegistry.php
  37. +1 −1 dev/install/DatabaseConfigurationHelper.php
  38. +1 −1 filesystem/FileFinder.php
  39. +1 −1 filesystem/FileNameFilter.php
  40. +1 −1 forms/CheckboxField.php
  41. +1 −1 forms/DatalessField.php
  42. +1 −1 forms/FieldList.php
  43. +1 −1 forms/FormAction.php
  44. +1 −1 forms/FormScaffolder.php
  45. +2 −1 forms/HeaderField.php
  46. +1 −1 forms/HiddenField.php
  47. +1 −1 forms/ImageField.php
  48. +1 −1 forms/LabelField.php
  49. +1 −1 forms/ListboxField.php
  50. +1 −1 forms/LiteralField.php
  51. +1 −1 forms/NestedForm.php
  52. +1 −1 forms/ReadonlyField.php
  53. +1 −1 forms/ResetFormAction.php
  54. +1 −1 forms/SimpleImageField.php
  55. +3 −2 forms/TextField.php
  56. +1 −1 forms/TextareaField.php
  57. +1 −1 forms/gridfield/GridFieldAddExistingAutocompleter.php
  58. +1 −1 forms/gridfield/GridFieldAddNewButton.php
  59. +1 −1 forms/gridfield/GridFieldComponent.php
  60. +1 −1 forms/gridfield/GridFieldDataColumns.php
  61. +1 −1 forms/gridfield/GridFieldDetailForm.php
  62. +1 −1 forms/gridfield/GridFieldEditButton.php
  63. +1 −1 forms/gridfield/GridFieldSortableHeader.php
  64. +1 −1 forms/gridfield/GridState.php
  65. +1 −1 model/ArrayList.php
  66. +1 −1 model/ComponentSet.php
  67. +1 −1 model/DB.php
  68. +1 −1 model/DataModel.php
  69. +1 −1 model/DataObjectDecorator.php
  70. +1 −1 model/DataObjectInterface.php
  71. +1 −1 model/DataObjectSet.php
  72. +1 −1 model/Filterable.php
  73. +1 −1 model/Limitable.php
  74. +1 −1 model/List.php
  75. +1 −1 model/ListDecorator.php
  76. +1 −1 model/RelationList.php
  77. +1 −1 model/Sortable.php
  78. +1 −1 model/Transliterator.php
  79. +1 −1 model/URLSegmentFilter.php
  80. +1 −1 model/ValidationResult.php
  81. +1 −1 model/fieldtypes/Double.php
  82. +1 −1 model/fieldtypes/Float.php
  83. +1 −1 model/fieldtypes/HTMLVarchar.php
  84. +1 −1 model/fieldtypes/MultiEnum.php
  85. +1 −1 parsers/HTML/BBCodeParser/Filter/Images.php
  86. +1 −1 security/GroupCsvBulkLoader.php
  87. +1 −1 security/MemberCsvBulkLoader.php
  88. +1 −1 security/MemberPassword.php
  89. +1 −1 security/PasswordValidator.php
  90. +1 −1 security/PermissionRoleCode.php
  91. +1 −1 security/RandomGenerator.php
  92. +1 −1 security/SecurityToken.php
  93. +1 −1 tasks/DailyTask.php
  94. +1 −1 tasks/EncryptAllPasswordsTask.php
  95. +1 −1 tasks/FlushGeneratedImagesTask.php
  96. +1 −1 tasks/HourlyTask.php
  97. +1 −1 tasks/WeeklyTask.php
  98. +1 −1 tests/MemoryLimitTest.php
  99. +1 −1 tests/api/RSSFeedTest.php
  100. +1 −1 tests/api/SapphireSoapServerTest.php
  101. +1 −1 tests/api/XMLDataFormatterTest.php
  102. +1 −1 tests/cache/CacheTest.php
  103. +1 −1 tests/control/HTTPResponseTest.php
  104. +1 −1 tests/control/NullHTTPRequestTest.php
  105. +1 −1 tests/control/PjaxResponseNegotiatorTest.php
  106. +1 −1 tests/control/SessionTest.php
  107. +1 −1 tests/core/ArrayLibTest.php
  108. +1 −1 tests/core/DiffTest.php
  109. +1 −1 tests/core/HTMLCleanerTest.php
  110. +1 −1 tests/core/ObjectStaticTest.php
  111. +1 −1 tests/core/manifest/ClassManifestTest.php
  112. +1 −1 tests/core/manifest/ManifestFileFinderTest.php
  113. +1 −1 tests/core/manifest/TemplateLoaderTest.php
  114. +1 −1 tests/core/manifest/TemplateManifestTest.php
  115. +1 −1 tests/core/manifest/fixtures/classmanifest/module/classes/ClassA.php
  116. +1 −1 tests/core/manifest/fixtures/classmanifest/module/classes/ClassB.php
  117. +1 −1 tests/core/manifest/fixtures/classmanifest/module/classes/ClassC.php
  118. +1 −1 tests/core/manifest/fixtures/classmanifest/module/classes/ClassD.php
  119. +1 −1 tests/core/manifest/fixtures/classmanifest/module/classes/_Ignore.php
  120. +1 −1 tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceA.php
  121. +1 −1 tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceB.php
  122. +1 −1 tests/core/manifest/fixtures/classmanifest/module/tests/TestClassA.php
  123. +1 −1 tests/dev/BacktraceTest.php
  124. +1 −1 tests/dev/CSVParserTest.php
  125. +1 −1 tests/dev/LogTest.php
  126. +1 −1 tests/filesystem/FileFinderTest.php
  127. +1 −1 tests/filesystem/FileNameFilterTest.php
  128. +1 −1 tests/filesystem/FolderTest.php
  129. +1 −1 tests/filesystem/UploadTest.php
  130. +1 −1 tests/forms/CheckboxSetFieldTest.php
  131. +1 −1 tests/forms/DatefieldViewJQueryTest.php
  132. +1 −1 tests/forms/DatetimeFieldTest.php
  133. +1 −1 tests/forms/FileFieldTest.php
  134. +1 −1 tests/forms/GridFieldTest.php
  135. +1 −1 tests/forms/HtmlEditorConfigTest.php
  136. +1 −1 tests/forms/HtmlEditorFieldTest.php
  137. +1 −1 tests/forms/OptionsetFieldTest.php
  138. +1 −1 tests/forms/TableFieldTest.php
  139. +1 −1 tests/forms/TableListFieldTest.php
  140. +1 −1 tests/forms/TextareaFieldTest.php
  141. +1 −1 tests/forms/TimeFieldTest.php
  142. +1 −1 tests/forms/gridfield/GridFieldConfigTest.php
  143. +1 −1 tests/forms/gridfield/GridField_URLHandlerTest.php
  144. +1 −1 tests/i18n/_fakewebroot/i18ntestmodule/code/i18nTestModule.php
  145. +1 −1 tests/integration/HTMLValueTest.php
  146. +1 −1 tests/model/ArrayListTest.php
  147. +1 −1 tests/model/ComponentSetTest.php
  148. +1 −1 tests/model/CurrencyTest.php
  149. +1 −1 tests/model/DataObjectSchemaGenerationTest.php
  150. +1 −1 tests/model/DbDatetimeTest.php
  151. +1 −1 tests/model/DecimalTest.php
  152. +1 −1 tests/model/HasManyListTest.php
  153. +1 −1 tests/model/HierarchyTest.php
  154. +1 −1 tests/model/ImageTest.php
  155. +1 −1 tests/model/MySQLDatabaseTest.php
  156. +1 −1 tests/model/PaginatedListTest.php
  157. +1 −1 tests/model/StringFieldTest.php
  158. +1 −1 tests/model/TextTest.php
  159. +1 −1 tests/model/TransactionTest.php
  160. +1 −1 tests/model/URLSegmentFilterTest.php
  161. +1 −1 tests/search/FulltextSearchableTest.php
  162. +1 −1 tests/security/BasicAuthTest.php
  163. +1 −1 tests/security/GroupCsvBulkLoaderTest.php
  164. +1 −1 tests/security/MemberAuthenticatorTest.php
  165. +1 −1 tests/security/MemberCsvBulkLoaderTest.php
  166. +1 −1 tests/security/PasswordEncryptorTest.php
  167. +1 −1 tests/security/PasswordValidatorTest.php
  168. +1 −1 tests/security/PermissionCheckboxSetFieldTest.php
  169. +1 −1 tests/security/PermissionTest.php
  170. +1 −1 tests/security/RandomGeneratorTest.php
  171. +1 −1 tests/security/SecurityDefaultAdminTest.php
  172. +1 −1 tests/security/SecurityTest.php
  173. +1 −1 tests/security/SecurityTokenTest.php
  174. +1 −1 tests/view/SSViewerCacheBlockTest.php
  175. +1 −1 tests/view/ViewableDataTest.php
  176. +1 −1 thirdparty/Zend/Log/FactoryInterface.php
  177. +1 −1 thirdparty/Zend/Log/Formatter/Abstract.php
  178. +1 −1 thirdparty/Zend/Log/Formatter/Firebug.php
  179. +1 −1 thirdparty/Zend/Log/Formatter/Simple.php
  180. +1 −1 thirdparty/Zend/Log/Writer/Syslog.php
  181. +1 −1 thirdparty/jquery-validate/demo/captcha/image_req.php
  182. +1 −1 thirdparty/jquery-validate/demo/captcha/images/image.php
  183. +1 −1 thirdparty/jquery-validate/demo/captcha/index.php
  184. +1 −1 thirdparty/jquery-validate/demo/captcha/newsession.php
  185. +1 −1 thirdparty/jquery-validate/demo/captcha/process.php
  186. +1 −1 thirdparty/jquery-validate/demo/captcha/rand.php
  187. +1 −1 thirdparty/jquery-validate/demo/form.php
  188. +1 −1 thirdparty/jquery-validate/demo/marketo/emails.php
  189. +1 −1 thirdparty/jquery-validate/demo/milk/emails.php
  190. +1 −1 thirdparty/jquery-validate/demo/milk/users.php
  191. +1 −1 thirdparty/jquery-validate/test/users.php
  192. +1 −1 thirdparty/jquery-validate/test/users2.php
  193. +1 −1 thirdparty/jsmin/jsmin.php
  194. +1 −1 thirdparty/jstree/_demo/_inc/class._database.php
  195. +1 −1 thirdparty/jstree/_demo/_inc/class._database_i.php
  196. +1 −1 thirdparty/jstree/_demo/_inc/class.tree.php
  197. +1 −1 thirdparty/jstree/_demo/config.php
  198. +1 −1 thirdparty/jstree/_demo/server.php
  199. +1 −1 thirdparty/simplepie/compatibility_test/sp_compatibility_test.php
  200. +1 −1 thirdparty/simplepie/idn/idna_convert.class.php
  201. +1 −1 thirdparty/simpletest/cookies.php
  202. +1 −1 thirdparty/simpletest/encoding.php
  203. +1 −1 thirdparty/simpletest/selector.php
  204. +1 −1 thirdparty/simpletest/socket.php
  205. +0 −1 thirdparty/simpletest/tag.php
  206. +1 −1 thirdparty/spyc/php4/5to4.php
  207. +1 −1 thirdparty/spyc/spyc.php
  208. +1 −1 thirdparty/tinymce-spellchecker/classes/utils/Logger.php
  209. +1 −1 thirdparty/tinymce-spellchecker/includes/general.php
  210. +1 −1 view/ArrayData.php
  211. +1 −1 view/TemplateIteratorProvider.php
View
2 admin/code/CMSBatchAction.php
@@ -146,4 +146,4 @@ function getParameterFields() {
function canView() {
return true;
}
-}
+}
View
2 admin/code/CMSPreviewable.php
@@ -22,4 +22,4 @@ function Link();
*/
function CMSEditLink();
-}
+}
View
2 admin/code/CMSProfileController.php
@@ -32,4 +32,4 @@ function canView($member = null) {
return true;
}
-}
+}
View
2 admin/code/LeftAndMainDecorator.php
@@ -11,4 +11,4 @@ public function __construct() {
parent::__construct();
}
-}
+}
View
2 admin/code/LeftAndMainExtension.php
@@ -16,4 +16,4 @@ function accessedCMS() {
function augmentNewSiteTreeItem(&$item) {
}
-}
+}
View
2 admin/tests/CMSMenuTest.php
@@ -82,4 +82,4 @@ class CMSMenuTest_LeftAndMainController extends LeftAndMain implements TestOnly
static $url_segment = 'CMSMenuTest_LeftAndMainController';
static $menu_title = 'CMSMenuTest_LeftAndMainController';
static $menu_priority = 50;
-}
+}
View
2 admin/thirdparty/history-js/tests.src/each.php
@@ -48,4 +48,4 @@
<!-- Tests -->
<script src="tests.js"></script>
</body>
-</html>
+</html>
View
2 api/XMLDataFormatter.php
@@ -149,4 +149,4 @@ public function convertDataObjectSet(SS_List $set, $fields = null) {
public function convertStringToArray($strData) {
return Convert::xml2array($strData);
}
-}
+}
View
2 cache/Cache.php
@@ -196,4 +196,4 @@ static function factory($for, $frontend='Output', $frontendOptions=null) {
require_once 'Zend/Cache.php';
return Zend_Cache::factory($frontend, $backend[0], $frontendOptions, $backend[1]);
}
-}
+}
View
2 cli/CliController.php
@@ -37,4 +37,4 @@ function index() {
*/
function process() {}
-}
+}
View
2 control/PjaxResponseNegotiator.php
@@ -66,4 +66,4 @@ public function respond(SS_HTTPRequest $request, $extraCallbacks = array()) {
public function setCallback($fragment, $callback) {
$this->callbacks[$fragment] = $callback;
}
-}
+}
View
2 core/Config.php
@@ -499,4 +499,4 @@ function get($name, $sourceOptions = 0) {
function forClass($class) {
return Config::inst()->forClass($class);
}
-}
+}
View
2 core/DAG.php
@@ -71,4 +71,4 @@ function sort() {
if ($dag) throw new Exception("DAG has cyclic requirements");
return $sorted;
}
-}
+}
View
2 core/HTMLCleaner.php
@@ -95,4 +95,4 @@ public function cleanHTML($content) {
$output = $tidy->repairString($content, $this->config);
return $output;
}
-}
+}
View
2 core/PaginatedList.php
@@ -406,4 +406,4 @@ public function setPageLimits($pageStart, $pageLength, $totalSize) {
$this->setTotalSize($totalSize);
}
-}
+}
View
2 core/manifest/ConfigManifest.php
@@ -490,4 +490,4 @@ function mergeInYamlFragment(&$into, $fragment) {
}
}
-}
+}
View
2 core/manifest/ManifestFileFinder.php
@@ -64,4 +64,4 @@ public function acceptDir($basename, $pathname, $depth) {
return parent::acceptDir($basename, $pathname, $depth);
}
-}
+}
View
2 core/manifest/TemplateLoader.php
@@ -92,4 +92,4 @@ public function findTemplates($templates, $theme = null) {
return $result;
}
-}
+}
View
2 core/manifest/TemplateManifest.php
@@ -151,4 +151,4 @@ protected function init() {
}
}
-}
+}
View
2 core/manifest/TokenisedRegularExpression.php
@@ -97,4 +97,4 @@ function matchFrom($tokenPos, $expressionPos, &$tokens, &$matches) {
return false;
}
-}
+}
View
2 dev/Backtrace.php
@@ -181,4 +181,4 @@ static function get_rendered_backtrace($bt, $plainText = false, $ignoredFunction
return $result;
}
-}
+}
View
2 dev/CSSContentParser.php
@@ -107,4 +107,4 @@ function selector2xpath($selector) {
}
-}
+}
View
2 dev/CodeViewer.php
@@ -348,4 +348,4 @@ function testAnalysis($file) {
}
}
-}
+}
View
2 dev/Deprecation.php
@@ -179,4 +179,4 @@ public static function restore_settings($settings) {
self::$version = $settings['version'];
self::$module_version_overrides = $settings['moduleVersions'];
}
-}
+}
View
2 dev/Log.php
@@ -180,4 +180,4 @@ public static function log($message, $priority, $extras = null) {
}
}
-}
+}
View
2 dev/LogEmailWriter.php
@@ -81,4 +81,4 @@ public function _write($event) {
if($this->customSmtpServer) ini_set('SMTP', $originalSMTP);
}
-}
+}
View
2 dev/LogErrorEmailFormatter.php
@@ -76,4 +76,4 @@ public function format($event) {
);
}
-}
+}
View
2 dev/LogErrorFileFormatter.php
@@ -38,4 +38,4 @@ public function format($event) {
return '[' . date('d-M-Y H:i:s') . "] $errtype at $relfile line $errline: $errstr$urlSuffix" . PHP_EOL;
}
-}
+}
View
2 dev/LogFileWriter.php
@@ -61,4 +61,4 @@ public function _write($event) {
error_log($message, $this->messageType, $this->path, $this->extraHeaders);
}
-}
+}
View
2 dev/SysLogWriter.php
@@ -48,4 +48,4 @@ public function _write($event) {
syslog($event['priority'], $this->_formatter->format($event));
}
-}
+}
View
2 dev/TestListener.php
@@ -45,4 +45,4 @@ public function endTestSuite(PHPUnit_Framework_TestSuite $suite) {
protected function isValidClass($name) {
return (class_exists($name) && is_subclass_of($name, 'SapphireTest'));
}
-}
+}
View
2 dev/TestMailer.php
@@ -83,4 +83,4 @@ function findEmail($to, $from = null, $subject = null, $content = null) {
}
-}
+}
View
2 dev/TestSession.php
@@ -213,4 +213,4 @@ function getUrl() {
function getRequestData() {
return null;
}
-}
+}
View
2 dev/TestViewer.php
@@ -254,4 +254,4 @@ function testAnalysis($file) {
}
}
-}
+}
View
2 dev/ZendLog.php
@@ -40,4 +40,4 @@ public function clearWriters() {
$this->_writers = array();
}
-}
+}
View
2 dev/install/DatabaseAdapterRegistry.php
@@ -78,4 +78,4 @@ static function get_adapters() {
return self::$adapters;
}
-}
+}
View
2 dev/install/DatabaseConfigurationHelper.php
@@ -39,4 +39,4 @@ public function requireDatabaseConnection($databaseConfig);
*/
public function requireDatabaseOrCreatePermissions($databaseConfig);
-}
+}
View
2 filesystem/FileFinder.php
@@ -226,4 +226,4 @@ protected function acceptFile($basename, $pathname, $depth) {
return true;
}
-}
+}
View
2 filesystem/FileNameFilter.php
@@ -118,4 +118,4 @@ function setTransliterator($t) {
function getDefaultName() {
return (string)uniqid();
}
-}
+}
View
2 forms/CheckboxField.php
@@ -65,4 +65,4 @@ function Value() {
return Convert::raw2xml($this->value ? _t('CheckboxField.YES', 'Yes') : _t('CheckboxField.NO', 'No'));
}
-}
+}
View
2 forms/DatalessField.php
@@ -72,4 +72,4 @@ function Type() {
return 'readonly';
}
-}
+}
View
2 forms/FieldList.php
@@ -565,4 +565,4 @@ function forTemplate() {
}
return $output;
}
-}
+}
View
2 forms/FormAction.php
@@ -135,4 +135,4 @@ function performReadonlyTransformation() {
return $clone;
}
-}
+}
View
2 forms/FormScaffolder.php
@@ -181,4 +181,4 @@ protected function getParamsArray() {
'ajaxSafe' => $this->ajaxSafe
);
}
-}
+}
View
3 forms/HeaderField.php
@@ -53,4 +53,5 @@ function getAttributes() {
function Type() {
return null;
}
-}
+
+}
View
2 forms/HiddenField.php
@@ -27,4 +27,4 @@ function getAttributes() {
array('type' => 'hidden')
);
}
-}
+}
View
2 forms/ImageField.php
@@ -54,4 +54,4 @@ public function EditFileForm() {
return $form;
}
-}
+}
View
2 forms/LabelField.php
@@ -27,4 +27,4 @@ function __construct($name, $title) {
parent::__construct($name, $title);
}
-}
+}
View
2 forms/ListboxField.php
@@ -277,4 +277,4 @@ function getDefaultItems() {
return $this->defaultItems;
}
-}
+}
View
2 forms/LiteralField.php
@@ -73,4 +73,4 @@ function performReadonlyTransformation() {
return $clone;
}
-}
+}
View
2 forms/NestedForm.php
@@ -27,4 +27,4 @@ function Actions() {
}
return $actions;
}
-}
+}
View
2 forms/ReadonlyField.php
@@ -33,4 +33,4 @@ function getAttributes() {
function Type() {
return 'readonly';
}
-}
+}
View
2 forms/ResetFormAction.php
@@ -18,4 +18,4 @@ function Type() {
return 'resetformaction';
}
-}
+}
View
2 forms/SimpleImageField.php
@@ -164,4 +164,4 @@ function Field($properties = array()) {
return $field;
}
-}
+}
View
5 forms/TextField.php
@@ -50,5 +50,6 @@ function getAttributes() {
function InternallyLabelledField() {
if(!$this->value) $this->value = $this->Title();
return $this->Field();
- }
-}
+ }
+
+}
View
2 forms/TextareaField.php
@@ -116,4 +116,4 @@ function setColumns($cols) {
function Value() {
return htmlentities($this->value, ENT_COMPAT, 'UTF-8');
}
-}
+}
View
2 forms/gridfield/GridFieldAddExistingAutocompleter.php
@@ -300,4 +300,4 @@ protected function findSingleEntry($gridField, $field, $searchTerm, $dataclass)
$gridField->State->GridFieldAddRelation = $searchResults->first()->ID;
return $searchResults->first()->$field;
}
-}
+}
View
2 forms/gridfield/GridFieldAddNewButton.php
@@ -21,4 +21,4 @@ public function getHTMLFragments($gridField) {
);
}
-}
+}
View
2 forms/gridfield/GridFieldComponent.php
@@ -141,4 +141,4 @@ function getManipulatedData(GridField $gridField, SS_List $dataList);
* Handler methods will be called on the component, rather than the grid field.
*/
function getURLHandlers($gridField);
-}
+}
View
2 forms/gridfield/GridFieldDataColumns.php
@@ -118,4 +118,4 @@ protected function escapeValue($gridField, $value) {
}
return $value;
}
-}
+}
View
2 forms/gridfield/GridFieldDetailForm.php
@@ -395,4 +395,4 @@ function Breadcrumbs($unlinked = false) {
return $items;
}
-}
+}
View
2 forms/gridfield/GridFieldEditButton.php
@@ -94,4 +94,4 @@ public function getColumnContent($gridField, $record, $columnName) {
public function handleAction(GridField $gridField, $actionName, $arguments, $data) {
}
-}
+}
View
2 forms/gridfield/GridFieldSortableHeader.php
@@ -131,4 +131,4 @@ public function getManipulatedData(GridField $gridField, SS_List $dataList) {
}
return $dataList->sort($state->SortColumn, $state->SortDirection);
}
-}
+}
View
2 forms/gridfield/GridState.php
@@ -148,4 +148,4 @@ public function getHTMLFragments($gridField) {
);
}
-}
+}
View
2 model/ArrayList.php
@@ -535,4 +535,4 @@ protected function extractValue($item, $key) {
}
}
-}
+}
View
2 model/ComponentSet.php
@@ -6,4 +6,4 @@ class ComponentSet extends DataObjectSet {
function setComponentInfo($type, $ownerObj, $ownerClass, $tableName, $childClass, $joinField = null) {
Deprecation::notice('3.0', 'Use ManyManyList or HasManyList instead.');
}
-}
+}
View
2 model/DB.php
@@ -334,4 +334,4 @@ static function alteration_message($message,$type="") {
return self::getConn()->alterationMessage($message, $type);
}
-}
+}
View
2 model/DataModel.php
@@ -46,4 +46,4 @@ function __set($class, $item) {
$this->customDataLists[$class] = $item;
}
-}
+}
View
2 model/DataObjectDecorator.php
@@ -11,4 +11,4 @@ public function __construct() {
parent::__construct();
}
-}
+}
View
2 model/DataObjectInterface.php
@@ -58,4 +58,4 @@ function __get($fieldName);
*/
function setCastedField($fieldName, $val);
-}
+}
View
2 model/DataObjectSet.php
@@ -37,4 +37,4 @@ public function __construct($items = array()) {
parent::__construct($items);
}
-}
+}
View
2 model/Filterable.php
@@ -37,4 +37,4 @@ public function filter();
*/
public function exclude();
-}
+}
View
2 model/Limitable.php
@@ -16,4 +16,4 @@
*/
public function limit($limit, $offset = 0);
-}
+}
View
2 model/List.php
@@ -78,4 +78,4 @@ public function find($key, $value);
*/
public function column($colName = "ID");
-}
+}
View
2 model/ListDecorator.php
@@ -157,4 +157,4 @@ public function debug() {
return $this->list->debug();
}
-}
+}
View
2 model/RelationList.php
@@ -41,4 +41,4 @@ function forForeignID($id) {
}
abstract protected function foreignIDFilter();
-}
+}
View
2 model/Sortable.php
@@ -26,4 +26,4 @@ public function canSortBy($by);
*/
public function sort();
-}
+}
View
2 model/Transliterator.php
@@ -55,4 +55,4 @@ protected function useStrTr($source) {
protected function useIconv($source) {
return iconv("utf-8", "us-ascii//IGNORE//TRANSLIT", $source);
}
-}
+}
View
2 model/URLSegmentFilter.php
@@ -129,4 +129,4 @@ function setAllowMultibyte($bool) {
function getAllowMultibyte() {
return ($this->allowMultibyte !== null) ? $this->allowMultibyte : self::$default_allow_multibyte;
}
-}
+}
View
2 model/ValidationResult.php
@@ -96,4 +96,4 @@ function combineAnd(ValidationResult $other) {
}
-}
+}
View
2 model/fieldtypes/Double.php
@@ -48,4 +48,4 @@ function prepValueForDB($value) {
}
}
-}
+}
View
2 model/fieldtypes/Float.php
@@ -67,4 +67,4 @@ function prepValueForDB($value) {
}
}
-}
+}
View
2 model/fieldtypes/HTMLVarchar.php
@@ -26,4 +26,4 @@ public function scaffoldSearchField($title = null) {
return new TextField($this->name, $title);
}
-}
+}
View
2 model/fieldtypes/MultiEnum.php
@@ -51,4 +51,4 @@ function formField($title = null, $name = null, $hasEmpty = false, $value = "",
}
}
- ?>
+ ?>
View
2 parsers/HTML/BBCodeParser/Filter/Images.php
@@ -84,4 +84,4 @@ function _preparse()
$o."img=\"\$2\"\$1".$c.$o."/img".$c,
$this->_text);
}
-}
+}
View
2 security/GroupCsvBulkLoader.php
@@ -61,4 +61,4 @@ function processRecord($record, $columnMap, &$results, $preview = false) {
return $objID;
}
-}
+}
View
2 security/MemberCsvBulkLoader.php
@@ -76,4 +76,4 @@ function setGroups($groups) {
function getGroups() {
return $this->groups;
}
-}
+}
View
2 security/MemberPassword.php
@@ -52,4 +52,4 @@ function checkPassword($password) {
}
-}
+}
View
2 security/PasswordValidator.php
@@ -90,4 +90,4 @@ function validate($password, $member) {
return $valid;
}
-}
+}
View
2 security/PermissionRoleCode.php
@@ -13,4 +13,4 @@ class PermissionRoleCode extends DataObject {
static $has_one = array(
"Role" => "PermissionRole",
);
-}
+}
View
2 security/RandomGenerator.php
@@ -69,4 +69,4 @@ function generateHash($algorithm = 'whirlpool') {
return hash($algorithm, $this->generateEntropy());
}
-}
+}
View
2 security/SecurityToken.php
@@ -288,4 +288,4 @@ function generate() {
return null;
}
-}
+}
View
2 tasks/DailyTask.php
@@ -12,4 +12,4 @@
*/
class DailyTask extends ScheduledTask {
-}
+}
View
2 tasks/EncryptAllPasswordsTask.php
@@ -70,4 +70,4 @@ protected function debugMessage($msg) {
Debug::message($msg);
}
}
-}
+}
View
2 tasks/FlushGeneratedImagesTask.php
@@ -41,4 +41,4 @@ public function run($request) {
echo "Removed $removedItems generated images from $processedImages Image objects stored in the Database.";
}
-}
+}
View
2 tasks/HourlyTask.php
@@ -11,4 +11,4 @@
*/
class HourlyTask extends ScheduledTask {
-}
+}
View
2 tasks/WeeklyTask.php
@@ -11,4 +11,4 @@
*/
class WeeklyTask extends ScheduledTask {
-}
+}
View
2 tests/MemoryLimitTest.php
@@ -98,4 +98,4 @@ protected function canChangeMemory() {
return true;
}
-}
+}
View
2 tests/api/RSSFeedTest.php
@@ -115,4 +115,4 @@ function Link() {
function AbsoluteLink() {
return "http://www.example.com/item-c.html";
}
-}
+}
View
2 tests/api/SapphireSoapServerTest.php
@@ -28,4 +28,4 @@ class SapphireSoapServerTest_MyServer extends SapphireSoapServer {
function Link($action = null) {
return Controller::join_links('SapphireSoapServerTest_MyServer', $action);
}
-}
+}
View
2 tests/api/XMLDataFormatterTest.php
@@ -37,4 +37,4 @@ class XMLDataFormatterTest_DataObject extends DataObject implements TestOnly {
'Content' => 'HTMLText'
);
-}
+}
View
2 tests/cache/CacheTest.php
@@ -45,4 +45,4 @@ function testCacheSeperation() {
$this->assertEquals('Bar', $cache2->load('cachekey'));
}
}
-
+
View
2 tests/control/HTTPResponseTest.php
@@ -30,4 +30,4 @@ function testContentLengthHeader() {
);
}
-}
+}
View
2 tests/control/NullHTTPRequestTest.php
@@ -19,4 +19,4 @@ function testGetURL() {
$this->assertEquals('', $r->getURL());
}
-}
+}
View
2 tests/control/PjaxResponseNegotiatorTest.php
@@ -19,4 +19,4 @@ function testSelectsFragmentByHeader() {
$this->assertEquals('myfragment response', $negotiator->respond($request));
}
-}
+}
View
2 tests/control/SessionTest.php
@@ -51,4 +51,4 @@ function testNonStandardPath(){
$this->assertEquals(Session::get_session_store_path(), '');
}
-}
+}
View
2 tests/core/ArrayLibTest.php
@@ -187,4 +187,4 @@ function testArrayMergeRecursive() {
'Numeric keys should behave like string keys'
);
}
-}
+}
View
2 tests/core/DiffTest.php
@@ -53,4 +53,4 @@ function testTableDiff() {
$this->assertEquals($compare, $expected);
}
-}
+}
View
2 tests/core/HTMLCleanerTest.php
@@ -25,4 +25,4 @@ function testHTMLClean() {
}
}
-}
+}
View
2 tests/core/ObjectStaticTest.php
@@ -133,4 +133,4 @@ class ObjectStaticTest_Combined2 extends ObjectStaticTest_Combined1 {
class ObjectStaticTest_Combined3 extends ObjectStaticTest_Combined2 {
public static $first = array('test_3');
public static $second = array('test_3');
-}
+}
View
2 tests/core/manifest/ClassManifestTest.php
@@ -120,4 +120,4 @@ public function testTestManifestIncludesTestClasses() {
public function testManifestExcludeFilesPrefixedWithUnderscore() {
$this->assertNotContains('ignore', array_keys($this->manifest->getClasses()));
}
-}
+}
View
2 tests/core/manifest/ManifestFileFinderTest.php
@@ -58,4 +58,4 @@ public function testIncludeThemes() {
));
}
-}
+}
View
2 tests/core/manifest/TemplateLoaderTest.php
@@ -43,4 +43,4 @@ public function testFindTemplates() {
$this->assertEquals($expectCustomPage, $loader->findTemplates(array('CustomPage', 'Page')));
}
-}
+}
View
2 tests/core/manifest/TemplateManifestTest.php
@@ -95,4 +95,4 @@ public function testGetTemplate() {
$this->assertEquals($expectTests, $this->manifestTests->getTemplate('Test'));
}
-}
+}
View
2 tests/core/manifest/fixtures/classmanifest/module/classes/ClassA.php
@@ -2,4 +2,4 @@
/**
* @ignore
*/
-class ClassA { }
+class ClassA { }
View
2 tests/core/manifest/fixtures/classmanifest/module/classes/ClassB.php
@@ -2,4 +2,4 @@
/**
* @ignore
*/
-class ClassB implements InterfaceA { }
+class ClassB implements InterfaceA { }
View
2 tests/core/manifest/fixtures/classmanifest/module/classes/ClassC.php
@@ -2,4 +2,4 @@
/**
* @ignore
*/
-class ClassC extends ClassA implements InterfaceB { }
+class ClassC extends ClassA implements InterfaceB { }
View
2 tests/core/manifest/fixtures/classmanifest/module/classes/ClassD.php
@@ -2,4 +2,4 @@
/**
* @ignore
*/
-class ClassD extends ClassC { }
+class ClassD extends ClassC { }
View
2 tests/core/manifest/fixtures/classmanifest/module/classes/_Ignore.php
@@ -2,4 +2,4 @@
/**
* @ignore
*/
-class Ignore extends ClassC { }
+class Ignore extends ClassC { }
View
2 tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceA.php
@@ -2,4 +2,4 @@
/**
* @ignore
*/
-interface InterfaceA { }
+interface InterfaceA { }
View
2 tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceB.php
@@ -2,4 +2,4 @@
/**
* @ignore
*/
-interface InterfaceB { }
+interface InterfaceB { }
View
2 tests/core/manifest/fixtures/classmanifest/module/tests/TestClassA.php
@@ -2,4 +2,4 @@
/**
* @ignore
*/
-class TestClassA { }
+class TestClassA { }
View
2 tests/dev/BacktraceTest.php
@@ -63,4 +63,4 @@ function testIgnoredFunctionArgs() {
SS_Backtrace::$ignore_function_args = $orig;
}
-}
+}
View
2 tests/dev/CSVParserTest.php
@@ -84,4 +84,4 @@ function testParsingWithExplicitHeaderRow() {
$this->assertEquals(array('IsRegistered', '1', '0', '1', '1'), $registered);
}
-}
+}
View
2 tests/dev/LogTest.php
@@ -67,4 +67,4 @@ function testEmailWriter() {
);
}
-}
+}
View
2 tests/filesystem/FileFinderTest.php
@@ -111,4 +111,4 @@ public function assertFinderFinds($finder, $expect, $message = null) {
$this->assertEquals($expect, $found, $message);
}
-}
+}
View
2 tests/filesystem/FileNameFilterTest.php
@@ -54,4 +54,4 @@ function testFilterWithEmptyString() {
);
}
-}
+}
View
2 tests/filesystem/FolderTest.php
@@ -286,4 +286,4 @@ function tearDown() {
parent::tearDown();
}
-}
+}
View
2 tests/filesystem/UploadTest.php
@@ -362,4 +362,4 @@ public function validate() {
return true;
}
-}
+}
View
2 tests/forms/CheckboxSetFieldTest.php
@@ -139,4 +139,4 @@ class CheckboxSetFieldTest_Tag extends DataObject implements TestOnly {
static $belongs_many_many = array(
'Articles' => 'CheckboxSetFieldTest_Article'
);
-}
+}
View
2 tests/forms/DatefieldViewJQueryTest.php
@@ -40,4 +40,4 @@ function testConvert() {
'Full month name'
);
}
-}
+}
View
2 tests/forms/DatetimeFieldTest.php
@@ -180,4 +180,4 @@ class DatetimeFieldTest_Model extends DataObject implements TestOnly {
'MyDatetime' => 'SS_Datetime'
);
-}
+}
View
2 tests/forms/FileFieldTest.php
@@ -77,4 +77,4 @@ public function testUploadMissingRequiredFile() {
'A null value was passed as parameter for an uploaded file, but the validator returned true'
);
}
-}
+}
View
2 tests/forms/GridFieldTest.php
@@ -530,4 +530,4 @@ public function canView($member = null) {
if(!($this->ID % 2)){ return false; }
return true;
}
-}
+}
View
2 tests/forms/HtmlEditorConfigTest.php
@@ -75,4 +75,4 @@ function testGenerateJSWritesPlugins() {
$this->assertContains('plugin1', $c->generateJS());
$this->assertContains('tinymce.PluginManager.load("plugin2", "/mypath/plugin2");', $c->generateJS());
}
-}
+}
View
2 tests/forms/HtmlEditorFieldTest.php
@@ -112,4 +112,4 @@ class HtmlEditorFieldTest_Object extends DataObject implements TestOnly {
'Title' => 'Varchar',
'Content' => 'HTMLText'
);
-}
+}
View
2 tests/forms/OptionsetFieldTest.php
@@ -24,4 +24,4 @@ function testSetDisabledItems() {
''
);
}
-}
+}
View
2 tests/forms/TableFieldTest.php
@@ -260,4 +260,4 @@ class TableFieldTest_HasManyRelation extends DataObject implements TestOnly {
static $has_one = array(
'HasOneRelation' => 'TableFieldTest_Object'
);
-}
+}
View
2 tests/forms/TableListFieldTest.php
@@ -371,4 +371,4 @@ function TestForm() {
$table
), new FieldList());
}
-}
+}
View
2 tests/forms/TextareaFieldTest.php
@@ -23,4 +23,4 @@ function testReadonlyTextEncoding() {
$this->assertContains('This is my &lt;text&gt;These are some unicodes: &auml;&ouml;&uuml;&amp;&lt;&gt;', $field->Field());
}
-}
+}
View
2 tests/forms/TimeFieldTest.php
@@ -99,4 +99,4 @@ function testOverrideWithNull() {
$field->setValue('');
$this->assertEquals($field->dataValue(), '');
}
-}
+}
View
2 tests/forms/gridfield/GridFieldConfigTest.php
@@ -121,4 +121,4 @@ function getURLHandlers($gridField) {return array();}
class GridFieldConfigTest_MyOtherComponent implements GridField_URLHandler, TestOnly {
function getURLHandlers($gridField) {return array();}
-}
+}
View
2 tests/forms/gridfield/GridField_URLHandlerTest.php
@@ -130,4 +130,4 @@ function doAction($data, $form) {
function testpage() {
return "Test page for item #" . $this->id;
}
-}
+}
View
2 tests/i18n/_fakewebroot/i18ntestmodule/code/i18nTestModule.php
@@ -18,4 +18,4 @@ class i18nTestModule_Addition extends Object {
function myAdditionalMethod() {
_t('i18nTestModule.ADDITION','Addition');
}
-}
+}
View
2 tests/integration/HTMLValueTest.php
@@ -50,4 +50,4 @@ public function testMixedNewlines() {
);
}
-}
+}
View
2 tests/model/ArrayListTest.php
@@ -584,4 +584,4 @@ public function toMap() {
return array('First' => $this->First, 'Second' => $this->Second);
}
-}
+}
View
2 tests/model/ComponentSetTest.php
@@ -72,4 +72,4 @@ class ComponentSetTest_Team extends DataObject implements TestOnly {
static $many_many = array(
'Players' => 'ComponentSetTest_Player'
);
-}
+}
View
2 tests/model/CurrencyTest.php
@@ -37,4 +37,4 @@ function testNiceFormatting() {
}
}
-}
+}
View
2 tests/model/DataObjectSchemaGenerationTest.php
@@ -33,4 +33,4 @@ class DataObjectSchemaGenerationTest_DO extends DataObject implements TestOnly {
'Enum2' => 'Enum("A, B, C, D","A")',
);
-}
+}
View
2 tests/model/DbDatetimeTest.php
@@ -134,4 +134,4 @@ class DbDateTimeTest_Team extends DataObject implements TestOnly {
static $db = array(
'Title' => 'Varchar'
);
-}
+}
View
2 tests/model/DecimalTest.php
@@ -54,4 +54,4 @@ class DecimalTest_DataObject extends DataObject implements TestOnly {
'MyDecimal4' => 4
);
-}
+}
View
2 tests/model/HasManyListTest.php
@@ -17,4 +17,4 @@ public function testRelationshipEmptyOnNewRecords() {
$this->assertEquals(array(), $newTeam->Comments()->column('ID'));
}
-}
+}
View
2 tests/model/HierarchyTest.php
@@ -172,4 +172,4 @@ class HierarchyTest_Object extends DataObject implements TestOnly {
'Hierarchy',
"Versioned('Stage', 'Live')",
);
-}
+}