From f8082e4814f7a8669dab633c28cf3abb250ec7f1 Mon Sep 17 00:00:00 2001 From: Simon Welsh Date: Sat, 24 Mar 2012 16:04:52 +1300 Subject: [PATCH] MINOR Add newline to end of files without one --- admin/code/CMSBatchAction.php | 2 +- admin/code/CMSPreviewable.php | 2 +- admin/code/CMSProfileController.php | 2 +- admin/code/LeftAndMainDecorator.php | 2 +- admin/code/LeftAndMainExtension.php | 2 +- admin/tests/CMSMenuTest.php | 2 +- admin/thirdparty/history-js/tests.src/each.php | 2 +- api/XMLDataFormatter.php | 2 +- cache/Cache.php | 2 +- cli/CliController.php | 2 +- control/PjaxResponseNegotiator.php | 2 +- core/Config.php | 2 +- core/DAG.php | 2 +- core/HTMLCleaner.php | 2 +- core/PaginatedList.php | 2 +- core/manifest/ConfigManifest.php | 2 +- core/manifest/ManifestFileFinder.php | 2 +- core/manifest/TemplateLoader.php | 2 +- core/manifest/TemplateManifest.php | 2 +- core/manifest/TokenisedRegularExpression.php | 2 +- dev/Backtrace.php | 2 +- dev/CSSContentParser.php | 2 +- dev/CodeViewer.php | 2 +- dev/Deprecation.php | 2 +- dev/Log.php | 2 +- dev/LogEmailWriter.php | 2 +- dev/LogErrorEmailFormatter.php | 2 +- dev/LogErrorFileFormatter.php | 2 +- dev/LogFileWriter.php | 2 +- dev/SysLogWriter.php | 2 +- dev/TestListener.php | 2 +- dev/TestMailer.php | 2 +- dev/TestSession.php | 2 +- dev/TestViewer.php | 2 +- dev/ZendLog.php | 2 +- dev/install/DatabaseAdapterRegistry.php | 2 +- dev/install/DatabaseConfigurationHelper.php | 2 +- filesystem/FileFinder.php | 2 +- filesystem/FileNameFilter.php | 2 +- forms/CheckboxField.php | 2 +- forms/DatalessField.php | 2 +- forms/FieldList.php | 2 +- forms/FormAction.php | 2 +- forms/FormScaffolder.php | 2 +- forms/HeaderField.php | 3 ++- forms/HiddenField.php | 2 +- forms/ImageField.php | 2 +- forms/LabelField.php | 2 +- forms/ListboxField.php | 2 +- forms/LiteralField.php | 2 +- forms/NestedForm.php | 2 +- forms/ReadonlyField.php | 2 +- forms/ResetFormAction.php | 2 +- forms/SimpleImageField.php | 2 +- forms/TextField.php | 5 +++-- forms/TextareaField.php | 2 +- forms/gridfield/GridFieldAddExistingAutocompleter.php | 2 +- forms/gridfield/GridFieldAddNewButton.php | 2 +- forms/gridfield/GridFieldComponent.php | 2 +- forms/gridfield/GridFieldDataColumns.php | 2 +- forms/gridfield/GridFieldDetailForm.php | 2 +- forms/gridfield/GridFieldEditButton.php | 2 +- forms/gridfield/GridFieldSortableHeader.php | 2 +- forms/gridfield/GridState.php | 2 +- model/ArrayList.php | 2 +- model/ComponentSet.php | 2 +- model/DB.php | 2 +- model/DataModel.php | 2 +- model/DataObjectDecorator.php | 2 +- model/DataObjectInterface.php | 2 +- model/DataObjectSet.php | 2 +- model/Filterable.php | 2 +- model/Limitable.php | 2 +- model/List.php | 2 +- model/ListDecorator.php | 2 +- model/RelationList.php | 2 +- model/Sortable.php | 2 +- model/Transliterator.php | 2 +- model/URLSegmentFilter.php | 2 +- model/ValidationResult.php | 2 +- model/fieldtypes/Double.php | 2 +- model/fieldtypes/Float.php | 2 +- model/fieldtypes/HTMLVarchar.php | 2 +- model/fieldtypes/MultiEnum.php | 2 +- parsers/HTML/BBCodeParser/Filter/Images.php | 2 +- security/GroupCsvBulkLoader.php | 2 +- security/MemberCsvBulkLoader.php | 2 +- security/MemberPassword.php | 2 +- security/PasswordValidator.php | 2 +- security/PermissionRoleCode.php | 2 +- security/RandomGenerator.php | 2 +- security/SecurityToken.php | 2 +- tasks/DailyTask.php | 2 +- tasks/EncryptAllPasswordsTask.php | 2 +- tasks/FlushGeneratedImagesTask.php | 2 +- tasks/HourlyTask.php | 2 +- tasks/WeeklyTask.php | 2 +- tests/MemoryLimitTest.php | 2 +- tests/api/RSSFeedTest.php | 2 +- tests/api/SapphireSoapServerTest.php | 2 +- tests/api/XMLDataFormatterTest.php | 2 +- tests/cache/CacheTest.php | 2 +- tests/control/HTTPResponseTest.php | 2 +- tests/control/NullHTTPRequestTest.php | 2 +- tests/control/PjaxResponseNegotiatorTest.php | 2 +- tests/control/SessionTest.php | 2 +- tests/core/ArrayLibTest.php | 2 +- tests/core/DiffTest.php | 2 +- tests/core/HTMLCleanerTest.php | 2 +- tests/core/ObjectStaticTest.php | 2 +- tests/core/manifest/ClassManifestTest.php | 2 +- tests/core/manifest/ManifestFileFinderTest.php | 2 +- tests/core/manifest/TemplateLoaderTest.php | 2 +- tests/core/manifest/TemplateManifestTest.php | 2 +- .../fixtures/classmanifest/module/classes/ClassA.php | 2 +- .../fixtures/classmanifest/module/classes/ClassB.php | 2 +- .../fixtures/classmanifest/module/classes/ClassC.php | 2 +- .../fixtures/classmanifest/module/classes/ClassD.php | 2 +- .../fixtures/classmanifest/module/classes/_Ignore.php | 2 +- .../fixtures/classmanifest/module/interfaces/InterfaceA.php | 2 +- .../fixtures/classmanifest/module/interfaces/InterfaceB.php | 2 +- .../fixtures/classmanifest/module/tests/TestClassA.php | 2 +- tests/dev/BacktraceTest.php | 2 +- tests/dev/CSVParserTest.php | 2 +- tests/dev/LogTest.php | 2 +- tests/filesystem/FileFinderTest.php | 2 +- tests/filesystem/FileNameFilterTest.php | 2 +- tests/filesystem/FolderTest.php | 2 +- tests/filesystem/UploadTest.php | 2 +- tests/forms/CheckboxSetFieldTest.php | 2 +- tests/forms/DatefieldViewJQueryTest.php | 2 +- tests/forms/DatetimeFieldTest.php | 2 +- tests/forms/FileFieldTest.php | 2 +- tests/forms/GridFieldTest.php | 2 +- tests/forms/HtmlEditorConfigTest.php | 2 +- tests/forms/HtmlEditorFieldTest.php | 2 +- tests/forms/OptionsetFieldTest.php | 2 +- tests/forms/TableFieldTest.php | 2 +- tests/forms/TableListFieldTest.php | 2 +- tests/forms/TextareaFieldTest.php | 2 +- tests/forms/TimeFieldTest.php | 2 +- tests/forms/gridfield/GridFieldConfigTest.php | 2 +- tests/forms/gridfield/GridField_URLHandlerTest.php | 2 +- .../i18n/_fakewebroot/i18ntestmodule/code/i18nTestModule.php | 2 +- tests/integration/HTMLValueTest.php | 2 +- tests/model/ArrayListTest.php | 2 +- tests/model/ComponentSetTest.php | 2 +- tests/model/CurrencyTest.php | 2 +- tests/model/DataObjectSchemaGenerationTest.php | 2 +- tests/model/DbDatetimeTest.php | 2 +- tests/model/DecimalTest.php | 2 +- tests/model/HasManyListTest.php | 2 +- tests/model/HierarchyTest.php | 2 +- tests/model/ImageTest.php | 2 +- tests/model/MySQLDatabaseTest.php | 2 +- tests/model/PaginatedListTest.php | 2 +- tests/model/StringFieldTest.php | 2 +- tests/model/TextTest.php | 2 +- tests/model/TransactionTest.php | 2 +- tests/model/URLSegmentFilterTest.php | 2 +- tests/search/FulltextSearchableTest.php | 2 +- tests/security/BasicAuthTest.php | 2 +- tests/security/GroupCsvBulkLoaderTest.php | 2 +- tests/security/MemberAuthenticatorTest.php | 2 +- tests/security/MemberCsvBulkLoaderTest.php | 2 +- tests/security/PasswordEncryptorTest.php | 2 +- tests/security/PasswordValidatorTest.php | 2 +- tests/security/PermissionCheckboxSetFieldTest.php | 2 +- tests/security/PermissionTest.php | 2 +- tests/security/RandomGeneratorTest.php | 2 +- tests/security/SecurityDefaultAdminTest.php | 2 +- tests/security/SecurityTest.php | 2 +- tests/security/SecurityTokenTest.php | 2 +- tests/view/SSViewerCacheBlockTest.php | 2 +- tests/view/ViewableDataTest.php | 2 +- thirdparty/Zend/Log/FactoryInterface.php | 2 +- thirdparty/Zend/Log/Formatter/Abstract.php | 2 +- thirdparty/Zend/Log/Formatter/Firebug.php | 2 +- thirdparty/Zend/Log/Formatter/Simple.php | 2 +- thirdparty/Zend/Log/Writer/Syslog.php | 2 +- thirdparty/jquery-validate/demo/captcha/image_req.php | 2 +- thirdparty/jquery-validate/demo/captcha/images/image.php | 2 +- thirdparty/jquery-validate/demo/captcha/index.php | 2 +- thirdparty/jquery-validate/demo/captcha/newsession.php | 2 +- thirdparty/jquery-validate/demo/captcha/process.php | 2 +- thirdparty/jquery-validate/demo/captcha/rand.php | 2 +- thirdparty/jquery-validate/demo/form.php | 2 +- thirdparty/jquery-validate/demo/marketo/emails.php | 2 +- thirdparty/jquery-validate/demo/milk/emails.php | 2 +- thirdparty/jquery-validate/demo/milk/users.php | 2 +- thirdparty/jquery-validate/test/users.php | 2 +- thirdparty/jquery-validate/test/users2.php | 2 +- thirdparty/jsmin/jsmin.php | 2 +- thirdparty/jstree/_demo/_inc/class._database.php | 2 +- thirdparty/jstree/_demo/_inc/class._database_i.php | 2 +- thirdparty/jstree/_demo/_inc/class.tree.php | 2 +- thirdparty/jstree/_demo/config.php | 2 +- thirdparty/jstree/_demo/server.php | 2 +- .../simplepie/compatibility_test/sp_compatibility_test.php | 2 +- thirdparty/simplepie/idn/idna_convert.class.php | 2 +- thirdparty/simpletest/cookies.php | 2 +- thirdparty/simpletest/encoding.php | 2 +- thirdparty/simpletest/selector.php | 2 +- thirdparty/simpletest/socket.php | 2 +- thirdparty/simpletest/tag.php | 1 - thirdparty/spyc/php4/5to4.php | 2 +- thirdparty/spyc/spyc.php | 2 +- thirdparty/tinymce-spellchecker/classes/utils/Logger.php | 2 +- thirdparty/tinymce-spellchecker/includes/general.php | 2 +- view/ArrayData.php | 2 +- view/TemplateIteratorProvider.php | 2 +- 211 files changed, 213 insertions(+), 212 deletions(-) diff --git a/admin/code/CMSBatchAction.php b/admin/code/CMSBatchAction.php index 14cb34dd1..1e190ca6d 100644 --- a/admin/code/CMSBatchAction.php +++ b/admin/code/CMSBatchAction.php @@ -146,4 +146,4 @@ abstract class CMSBatchAction extends Object { function canView() { return true; } -} \ No newline at end of file +} diff --git a/admin/code/CMSPreviewable.php b/admin/code/CMSPreviewable.php index e5ed28ef4..1da0eb601 100644 --- a/admin/code/CMSPreviewable.php +++ b/admin/code/CMSPreviewable.php @@ -22,4 +22,4 @@ interface CMSPreviewable { */ function CMSEditLink(); -} \ No newline at end of file +} diff --git a/admin/code/CMSProfileController.php b/admin/code/CMSProfileController.php index c08172214..fe7fcc078 100644 --- a/admin/code/CMSProfileController.php +++ b/admin/code/CMSProfileController.php @@ -32,4 +32,4 @@ class CMSProfileController extends LeftAndMain { return true; } -} \ No newline at end of file +} diff --git a/admin/code/LeftAndMainDecorator.php b/admin/code/LeftAndMainDecorator.php index 96a83fffc..60030549d 100644 --- a/admin/code/LeftAndMainDecorator.php +++ b/admin/code/LeftAndMainDecorator.php @@ -11,4 +11,4 @@ abstract class LeftAndMainDecorator extends LeftAndMainExtension { parent::__construct(); } -} \ No newline at end of file +} diff --git a/admin/code/LeftAndMainExtension.php b/admin/code/LeftAndMainExtension.php index 89dff7aa5..c9c3ab345 100644 --- a/admin/code/LeftAndMainExtension.php +++ b/admin/code/LeftAndMainExtension.php @@ -16,4 +16,4 @@ abstract class LeftAndMainExtension extends Extension { function augmentNewSiteTreeItem(&$item) { } -} \ No newline at end of file +} diff --git a/admin/tests/CMSMenuTest.php b/admin/tests/CMSMenuTest.php index eb0fe83c5..835322876 100644 --- a/admin/tests/CMSMenuTest.php +++ b/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; -} \ No newline at end of file +} diff --git a/admin/thirdparty/history-js/tests.src/each.php b/admin/thirdparty/history-js/tests.src/each.php index 22f7b6835..2ad23c9c9 100644 --- a/admin/thirdparty/history-js/tests.src/each.php +++ b/admin/thirdparty/history-js/tests.src/each.php @@ -48,4 +48,4 @@ - \ No newline at end of file + diff --git a/api/XMLDataFormatter.php b/api/XMLDataFormatter.php index ca5b1a590..88c84aec0 100644 --- a/api/XMLDataFormatter.php +++ b/api/XMLDataFormatter.php @@ -149,4 +149,4 @@ class XMLDataFormatter extends DataFormatter { public function convertStringToArray($strData) { return Convert::xml2array($strData); } -} \ No newline at end of file +} diff --git a/cache/Cache.php b/cache/Cache.php index 5e0c54642..e043afecc 100644 --- a/cache/Cache.php +++ b/cache/Cache.php @@ -196,4 +196,4 @@ class SS_Cache { require_once 'Zend/Cache.php'; return Zend_Cache::factory($frontend, $backend[0], $frontendOptions, $backend[1]); } -} \ No newline at end of file +} diff --git a/cli/CliController.php b/cli/CliController.php index 2c912b6a9..705b4c89f 100644 --- a/cli/CliController.php +++ b/cli/CliController.php @@ -37,4 +37,4 @@ abstract class CliController extends Controller { */ function process() {} -} \ No newline at end of file +} diff --git a/control/PjaxResponseNegotiator.php b/control/PjaxResponseNegotiator.php index c429bf6d0..b4f0fb8a2 100644 --- a/control/PjaxResponseNegotiator.php +++ b/control/PjaxResponseNegotiator.php @@ -66,4 +66,4 @@ class PjaxResponseNegotiator { public function setCallback($fragment, $callback) { $this->callbacks[$fragment] = $callback; } -} \ No newline at end of file +} diff --git a/core/Config.php b/core/Config.php index 157694911..e1db5f441 100644 --- a/core/Config.php +++ b/core/Config.php @@ -499,4 +499,4 @@ class Config_ForClass { function forClass($class) { return Config::inst()->forClass($class); } -} \ No newline at end of file +} diff --git a/core/DAG.php b/core/DAG.php index ac1d9ec09..9988af21a 100644 --- a/core/DAG.php +++ b/core/DAG.php @@ -71,4 +71,4 @@ class SS_DAG { if ($dag) throw new Exception("DAG has cyclic requirements"); return $sorted; } -} \ No newline at end of file +} diff --git a/core/HTMLCleaner.php b/core/HTMLCleaner.php index ca2c40839..8c4a65dfb 100644 --- a/core/HTMLCleaner.php +++ b/core/HTMLCleaner.php @@ -95,4 +95,4 @@ class TidyHTMLCleaner extends HTMLCleaner { $output = $tidy->repairString($content, $this->config); return $output; } -} \ No newline at end of file +} diff --git a/core/PaginatedList.php b/core/PaginatedList.php index 6a2718bc4..1c64b0538 100644 --- a/core/PaginatedList.php +++ b/core/PaginatedList.php @@ -406,4 +406,4 @@ class PaginatedList extends SS_ListDecorator { $this->setTotalSize($totalSize); } -} \ No newline at end of file +} diff --git a/core/manifest/ConfigManifest.php b/core/manifest/ConfigManifest.php index 802840cda..d89452191 100644 --- a/core/manifest/ConfigManifest.php +++ b/core/manifest/ConfigManifest.php @@ -490,4 +490,4 @@ class SS_ConfigManifest { } } -} \ No newline at end of file +} diff --git a/core/manifest/ManifestFileFinder.php b/core/manifest/ManifestFileFinder.php index da2a38aad..50a4aa7dc 100644 --- a/core/manifest/ManifestFileFinder.php +++ b/core/manifest/ManifestFileFinder.php @@ -64,4 +64,4 @@ class ManifestFileFinder extends SS_FileFinder { return parent::acceptDir($basename, $pathname, $depth); } -} \ No newline at end of file +} diff --git a/core/manifest/TemplateLoader.php b/core/manifest/TemplateLoader.php index 10226f733..7f577905b 100644 --- a/core/manifest/TemplateLoader.php +++ b/core/manifest/TemplateLoader.php @@ -92,4 +92,4 @@ class SS_TemplateLoader { return $result; } -} \ No newline at end of file +} diff --git a/core/manifest/TemplateManifest.php b/core/manifest/TemplateManifest.php index d1e29dace..d03f864b5 100644 --- a/core/manifest/TemplateManifest.php +++ b/core/manifest/TemplateManifest.php @@ -151,4 +151,4 @@ class SS_TemplateManifest { } } -} \ No newline at end of file +} diff --git a/core/manifest/TokenisedRegularExpression.php b/core/manifest/TokenisedRegularExpression.php index 0a7215b57..f542433ce 100644 --- a/core/manifest/TokenisedRegularExpression.php +++ b/core/manifest/TokenisedRegularExpression.php @@ -97,4 +97,4 @@ class TokenisedRegularExpression { return false; } -} \ No newline at end of file +} diff --git a/dev/Backtrace.php b/dev/Backtrace.php index 7e14420a2..e6f251136 100644 --- a/dev/Backtrace.php +++ b/dev/Backtrace.php @@ -181,4 +181,4 @@ class SS_Backtrace { return $result; } -} \ No newline at end of file +} diff --git a/dev/CSSContentParser.php b/dev/CSSContentParser.php index 41c339d39..296423367 100644 --- a/dev/CSSContentParser.php +++ b/dev/CSSContentParser.php @@ -107,4 +107,4 @@ class CSSContentParser extends Object { } -} \ No newline at end of file +} diff --git a/dev/CodeViewer.php b/dev/CodeViewer.php index d02e27eab..c54fe1822 100644 --- a/dev/CodeViewer.php +++ b/dev/CodeViewer.php @@ -348,4 +348,4 @@ class CodeViewer extends Controller { } } -} \ No newline at end of file +} diff --git a/dev/Deprecation.php b/dev/Deprecation.php index 4ac2c2eae..7652c8816 100644 --- a/dev/Deprecation.php +++ b/dev/Deprecation.php @@ -179,4 +179,4 @@ class Deprecation { self::$version = $settings['version']; self::$module_version_overrides = $settings['moduleVersions']; } -} \ No newline at end of file +} diff --git a/dev/Log.php b/dev/Log.php index 88b79a748..806f34a64 100644 --- a/dev/Log.php +++ b/dev/Log.php @@ -180,4 +180,4 @@ class SS_Log { } } -} \ No newline at end of file +} diff --git a/dev/LogEmailWriter.php b/dev/LogEmailWriter.php index afa9cdc6e..3c14f95c5 100644 --- a/dev/LogEmailWriter.php +++ b/dev/LogEmailWriter.php @@ -81,4 +81,4 @@ class SS_LogEmailWriter extends Zend_Log_Writer_Abstract { if($this->customSmtpServer) ini_set('SMTP', $originalSMTP); } -} \ No newline at end of file +} diff --git a/dev/LogErrorEmailFormatter.php b/dev/LogErrorEmailFormatter.php index 29ce37a04..0b1df46c2 100644 --- a/dev/LogErrorEmailFormatter.php +++ b/dev/LogErrorEmailFormatter.php @@ -76,4 +76,4 @@ class SS_LogErrorEmailFormatter implements Zend_Log_Formatter_Interface { ); } -} \ No newline at end of file +} diff --git a/dev/LogErrorFileFormatter.php b/dev/LogErrorFileFormatter.php index 5a6fb9900..c4556a92b 100644 --- a/dev/LogErrorFileFormatter.php +++ b/dev/LogErrorFileFormatter.php @@ -38,4 +38,4 @@ class SS_LogErrorFileFormatter implements Zend_Log_Formatter_Interface { return '[' . date('d-M-Y H:i:s') . "] $errtype at $relfile line $errline: $errstr$urlSuffix" . PHP_EOL; } -} \ No newline at end of file +} diff --git a/dev/LogFileWriter.php b/dev/LogFileWriter.php index 27a0ec403..70410ff2d 100644 --- a/dev/LogFileWriter.php +++ b/dev/LogFileWriter.php @@ -61,4 +61,4 @@ class SS_LogFileWriter extends Zend_Log_Writer_Abstract { error_log($message, $this->messageType, $this->path, $this->extraHeaders); } -} \ No newline at end of file +} diff --git a/dev/SysLogWriter.php b/dev/SysLogWriter.php index 5d623a78f..47c300a1f 100644 --- a/dev/SysLogWriter.php +++ b/dev/SysLogWriter.php @@ -48,4 +48,4 @@ class SS_SysLogWriter extends Zend_Log_Writer_Abstract { syslog($event['priority'], $this->_formatter->format($event)); } -} \ No newline at end of file +} diff --git a/dev/TestListener.php b/dev/TestListener.php index e6bb43d1f..13f85971c 100644 --- a/dev/TestListener.php +++ b/dev/TestListener.php @@ -45,4 +45,4 @@ class SS_TestListener implements PHPUnit_Framework_TestListener { protected function isValidClass($name) { return (class_exists($name) && is_subclass_of($name, 'SapphireTest')); } -} \ No newline at end of file +} diff --git a/dev/TestMailer.php b/dev/TestMailer.php index e170ee1c8..ddd220735 100644 --- a/dev/TestMailer.php +++ b/dev/TestMailer.php @@ -83,4 +83,4 @@ class TestMailer extends Mailer { } -} \ No newline at end of file +} diff --git a/dev/TestSession.php b/dev/TestSession.php index 27cebcc7a..29719e4b4 100644 --- a/dev/TestSession.php +++ b/dev/TestSession.php @@ -213,4 +213,4 @@ class TestSession_STResponseWrapper { function getRequestData() { return null; } -} \ No newline at end of file +} diff --git a/dev/TestViewer.php b/dev/TestViewer.php index 6d549a196..c5ed7df54 100644 --- a/dev/TestViewer.php +++ b/dev/TestViewer.php @@ -254,4 +254,4 @@ class TestViewer extends Controller { } } -} \ No newline at end of file +} diff --git a/dev/ZendLog.php b/dev/ZendLog.php index d09190ace..5c9cee289 100644 --- a/dev/ZendLog.php +++ b/dev/ZendLog.php @@ -40,4 +40,4 @@ class SS_ZendLog extends Zend_Log { $this->_writers = array(); } -} \ No newline at end of file +} diff --git a/dev/install/DatabaseAdapterRegistry.php b/dev/install/DatabaseAdapterRegistry.php index b9fd313bf..7ef855074 100644 --- a/dev/install/DatabaseAdapterRegistry.php +++ b/dev/install/DatabaseAdapterRegistry.php @@ -78,4 +78,4 @@ class DatabaseAdapterRegistry { return self::$adapters; } -} \ No newline at end of file +} diff --git a/dev/install/DatabaseConfigurationHelper.php b/dev/install/DatabaseConfigurationHelper.php index 70f7029ea..12d4c294a 100644 --- a/dev/install/DatabaseConfigurationHelper.php +++ b/dev/install/DatabaseConfigurationHelper.php @@ -39,4 +39,4 @@ interface DatabaseConfigurationHelper { */ public function requireDatabaseOrCreatePermissions($databaseConfig); -} \ No newline at end of file +} diff --git a/filesystem/FileFinder.php b/filesystem/FileFinder.php index 98b02693d..3069c81ec 100644 --- a/filesystem/FileFinder.php +++ b/filesystem/FileFinder.php @@ -226,4 +226,4 @@ class SS_FileFinder { return true; } -} \ No newline at end of file +} diff --git a/filesystem/FileNameFilter.php b/filesystem/FileNameFilter.php index ddfb3a1d2..755ea7244 100644 --- a/filesystem/FileNameFilter.php +++ b/filesystem/FileNameFilter.php @@ -118,4 +118,4 @@ class FileNameFilter extends Object { function getDefaultName() { return (string)uniqid(); } -} \ No newline at end of file +} diff --git a/forms/CheckboxField.php b/forms/CheckboxField.php index ba58e33e3..7e65f158a 100644 --- a/forms/CheckboxField.php +++ b/forms/CheckboxField.php @@ -65,4 +65,4 @@ class CheckboxField_Readonly extends ReadonlyField { return Convert::raw2xml($this->value ? _t('CheckboxField.YES', 'Yes') : _t('CheckboxField.NO', 'No')); } -} \ No newline at end of file +} diff --git a/forms/DatalessField.php b/forms/DatalessField.php index 88190cdae..0a7e5d4eb 100644 --- a/forms/DatalessField.php +++ b/forms/DatalessField.php @@ -72,4 +72,4 @@ class DatalessField extends FormField { return 'readonly'; } -} \ No newline at end of file +} diff --git a/forms/FieldList.php b/forms/FieldList.php index 688359520..b08fe0186 100644 --- a/forms/FieldList.php +++ b/forms/FieldList.php @@ -565,4 +565,4 @@ class FieldList extends ArrayList { } return $output; } -} \ No newline at end of file +} diff --git a/forms/FormAction.php b/forms/FormAction.php index ee1d27671..2fb01f0ee 100644 --- a/forms/FormAction.php +++ b/forms/FormAction.php @@ -135,4 +135,4 @@ class FormAction extends FormField { return $clone; } -} \ No newline at end of file +} diff --git a/forms/FormScaffolder.php b/forms/FormScaffolder.php index 7c8424b66..0d1c17097 100644 --- a/forms/FormScaffolder.php +++ b/forms/FormScaffolder.php @@ -181,4 +181,4 @@ class FormScaffolder extends Object { 'ajaxSafe' => $this->ajaxSafe ); } -} \ No newline at end of file +} diff --git a/forms/HeaderField.php b/forms/HeaderField.php index 5b938a4d0..90faaff1d 100644 --- a/forms/HeaderField.php +++ b/forms/HeaderField.php @@ -53,4 +53,5 @@ class HeaderField extends DatalessField { function Type() { return null; } -} \ No newline at end of file + +} diff --git a/forms/HiddenField.php b/forms/HiddenField.php index ddd26c2a1..c4feebc48 100644 --- a/forms/HiddenField.php +++ b/forms/HiddenField.php @@ -27,4 +27,4 @@ class HiddenField extends FormField { array('type' => 'hidden') ); } -} \ No newline at end of file +} diff --git a/forms/ImageField.php b/forms/ImageField.php index 620de1cf4..eabdd6e8e 100644 --- a/forms/ImageField.php +++ b/forms/ImageField.php @@ -54,4 +54,4 @@ class ImageField extends FileIFrameField { return $form; } -} \ No newline at end of file +} diff --git a/forms/LabelField.php b/forms/LabelField.php index 7440461b8..2e7e9b24d 100644 --- a/forms/LabelField.php +++ b/forms/LabelField.php @@ -27,4 +27,4 @@ class LabelField extends DatalessField { parent::__construct($name, $title); } -} \ No newline at end of file +} diff --git a/forms/ListboxField.php b/forms/ListboxField.php index 4b8ecf898..3d31e582c 100644 --- a/forms/ListboxField.php +++ b/forms/ListboxField.php @@ -277,4 +277,4 @@ class ListboxField extends DropdownField { return $this->defaultItems; } -} \ No newline at end of file +} diff --git a/forms/LiteralField.php b/forms/LiteralField.php index 0ce883757..35be89c5a 100644 --- a/forms/LiteralField.php +++ b/forms/LiteralField.php @@ -73,4 +73,4 @@ class LiteralField extends DatalessField { return $clone; } -} \ No newline at end of file +} diff --git a/forms/NestedForm.php b/forms/NestedForm.php index 7f248536a..8fe059cac 100644 --- a/forms/NestedForm.php +++ b/forms/NestedForm.php @@ -27,4 +27,4 @@ class NestedForm extends ViewableData { } return $actions; } -} \ No newline at end of file +} diff --git a/forms/ReadonlyField.php b/forms/ReadonlyField.php index dcea85a73..e489b4b38 100644 --- a/forms/ReadonlyField.php +++ b/forms/ReadonlyField.php @@ -33,4 +33,4 @@ class ReadonlyField extends FormField { function Type() { return 'readonly'; } -} \ No newline at end of file +} diff --git a/forms/ResetFormAction.php b/forms/ResetFormAction.php index c502fb2a3..c0956cb52 100644 --- a/forms/ResetFormAction.php +++ b/forms/ResetFormAction.php @@ -18,4 +18,4 @@ class ResetFormAction extends FormAction { return 'resetformaction'; } -} \ No newline at end of file +} diff --git a/forms/SimpleImageField.php b/forms/SimpleImageField.php index ea06fd013..d192424cb 100644 --- a/forms/SimpleImageField.php +++ b/forms/SimpleImageField.php @@ -164,4 +164,4 @@ class SimpleImageField_Disabled extends FormField { return $field; } -} \ No newline at end of file +} diff --git a/forms/TextField.php b/forms/TextField.php index 1a990bc8c..adf6153d5 100644 --- a/forms/TextField.php +++ b/forms/TextField.php @@ -50,5 +50,6 @@ class TextField extends FormField { function InternallyLabelledField() { if(!$this->value) $this->value = $this->Title(); return $this->Field(); - } -} \ No newline at end of file + } + +} diff --git a/forms/TextareaField.php b/forms/TextareaField.php index 7efa85db1..f5ab994fa 100644 --- a/forms/TextareaField.php +++ b/forms/TextareaField.php @@ -116,4 +116,4 @@ class TextareaField extends FormField { function Value() { return htmlentities($this->value, ENT_COMPAT, 'UTF-8'); } -} \ No newline at end of file +} diff --git a/forms/gridfield/GridFieldAddExistingAutocompleter.php b/forms/gridfield/GridFieldAddExistingAutocompleter.php index 58e9b5611..e019667a8 100755 --- a/forms/gridfield/GridFieldAddExistingAutocompleter.php +++ b/forms/gridfield/GridFieldAddExistingAutocompleter.php @@ -300,4 +300,4 @@ class GridFieldAddExistingAutocompleter implements GridField_HTMLProvider, GridF $gridField->State->GridFieldAddRelation = $searchResults->first()->ID; return $searchResults->first()->$field; } -} \ No newline at end of file +} diff --git a/forms/gridfield/GridFieldAddNewButton.php b/forms/gridfield/GridFieldAddNewButton.php index 9967cf436..1e1aa1be5 100644 --- a/forms/gridfield/GridFieldAddNewButton.php +++ b/forms/gridfield/GridFieldAddNewButton.php @@ -21,4 +21,4 @@ class GridFieldAddNewButton implements GridField_HTMLProvider { ); } -} \ No newline at end of file +} diff --git a/forms/gridfield/GridFieldComponent.php b/forms/gridfield/GridFieldComponent.php index cf6c58bdd..dc35c1730 100644 --- a/forms/gridfield/GridFieldComponent.php +++ b/forms/gridfield/GridFieldComponent.php @@ -141,4 +141,4 @@ interface GridField_URLHandler extends GridFieldComponent { * Handler methods will be called on the component, rather than the grid field. */ function getURLHandlers($gridField); -} \ No newline at end of file +} diff --git a/forms/gridfield/GridFieldDataColumns.php b/forms/gridfield/GridFieldDataColumns.php index 1d2c88cdd..671555c6d 100644 --- a/forms/gridfield/GridFieldDataColumns.php +++ b/forms/gridfield/GridFieldDataColumns.php @@ -118,4 +118,4 @@ class GridFieldDataColumns implements GridField_ColumnProvider { } return $value; } -} \ No newline at end of file +} diff --git a/forms/gridfield/GridFieldDetailForm.php b/forms/gridfield/GridFieldDetailForm.php index f700e70f9..cc9a59586 100755 --- a/forms/gridfield/GridFieldDetailForm.php +++ b/forms/gridfield/GridFieldDetailForm.php @@ -395,4 +395,4 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler { return $items; } -} \ No newline at end of file +} diff --git a/forms/gridfield/GridFieldEditButton.php b/forms/gridfield/GridFieldEditButton.php index c13048a2e..1bada543b 100644 --- a/forms/gridfield/GridFieldEditButton.php +++ b/forms/gridfield/GridFieldEditButton.php @@ -94,4 +94,4 @@ class GridFieldEditButton implements GridField_ColumnProvider { public function handleAction(GridField $gridField, $actionName, $arguments, $data) { } -} \ No newline at end of file +} diff --git a/forms/gridfield/GridFieldSortableHeader.php b/forms/gridfield/GridFieldSortableHeader.php index 255a91953..e205f47f8 100644 --- a/forms/gridfield/GridFieldSortableHeader.php +++ b/forms/gridfield/GridFieldSortableHeader.php @@ -131,4 +131,4 @@ class GridFieldSortableHeader implements GridField_HTMLProvider, GridField_DataM } return $dataList->sort($state->SortColumn, $state->SortDirection); } -} \ No newline at end of file +} diff --git a/forms/gridfield/GridState.php b/forms/gridfield/GridState.php index 667a0ae4d..d05bc21ce 100644 --- a/forms/gridfield/GridState.php +++ b/forms/gridfield/GridState.php @@ -148,4 +148,4 @@ class GridState_Component implements GridField_HTMLProvider { ); } -} \ No newline at end of file +} diff --git a/model/ArrayList.php b/model/ArrayList.php index 7a11a629a..bfd18cf9a 100644 --- a/model/ArrayList.php +++ b/model/ArrayList.php @@ -535,4 +535,4 @@ class ArrayList extends ViewableData implements SS_List, SS_Filterable, SS_Sorta } } -} \ No newline at end of file +} diff --git a/model/ComponentSet.php b/model/ComponentSet.php index ffb4336b4..9745375d2 100644 --- a/model/ComponentSet.php +++ b/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.'); } -} \ No newline at end of file +} diff --git a/model/DB.php b/model/DB.php index d3adc263f..a71a6654e 100644 --- a/model/DB.php +++ b/model/DB.php @@ -334,4 +334,4 @@ class DB { return self::getConn()->alterationMessage($message, $type); } -} \ No newline at end of file +} diff --git a/model/DataModel.php b/model/DataModel.php index 55bf74c15..2b80bf60e 100644 --- a/model/DataModel.php +++ b/model/DataModel.php @@ -46,4 +46,4 @@ class DataModel { $this->customDataLists[$class] = $item; } -} \ No newline at end of file +} diff --git a/model/DataObjectDecorator.php b/model/DataObjectDecorator.php index b651326c0..f21cdd277 100644 --- a/model/DataObjectDecorator.php +++ b/model/DataObjectDecorator.php @@ -11,4 +11,4 @@ abstract class DataObjectDecorator extends DataExtension { parent::__construct(); } -} \ No newline at end of file +} diff --git a/model/DataObjectInterface.php b/model/DataObjectInterface.php index 98296bbc8..c42be7e73 100644 --- a/model/DataObjectInterface.php +++ b/model/DataObjectInterface.php @@ -58,4 +58,4 @@ interface DataObjectInterface { */ function setCastedField($fieldName, $val); -} \ No newline at end of file +} diff --git a/model/DataObjectSet.php b/model/DataObjectSet.php index 3f4deac1c..6f7bbe556 100644 --- a/model/DataObjectSet.php +++ b/model/DataObjectSet.php @@ -37,4 +37,4 @@ class DataObjectSet extends ArrayList { parent::__construct($items); } -} \ No newline at end of file +} diff --git a/model/Filterable.php b/model/Filterable.php index 5fcdda99b..486df671c 100644 --- a/model/Filterable.php +++ b/model/Filterable.php @@ -37,4 +37,4 @@ interface SS_Filterable { */ public function exclude(); -} \ No newline at end of file +} diff --git a/model/Limitable.php b/model/Limitable.php index 1c0560b66..8e9e03e39 100644 --- a/model/Limitable.php +++ b/model/Limitable.php @@ -16,4 +16,4 @@ interface SS_Limitable { */ public function limit($limit, $offset = 0); -} \ No newline at end of file +} diff --git a/model/List.php b/model/List.php index 970c8a23c..44b2e152e 100644 --- a/model/List.php +++ b/model/List.php @@ -78,4 +78,4 @@ interface SS_List extends ArrayAccess, Countable, IteratorAggregate { */ public function column($colName = "ID"); -} \ No newline at end of file +} diff --git a/model/ListDecorator.php b/model/ListDecorator.php index facbb2944..8412c94f3 100644 --- a/model/ListDecorator.php +++ b/model/ListDecorator.php @@ -157,4 +157,4 @@ abstract class SS_ListDecorator extends ViewableData implements SS_List, SS_Sort return $this->list->debug(); } -} \ No newline at end of file +} diff --git a/model/RelationList.php b/model/RelationList.php index 993769a79..5ebe8db36 100644 --- a/model/RelationList.php +++ b/model/RelationList.php @@ -41,4 +41,4 @@ abstract class RelationList extends DataList { } abstract protected function foreignIDFilter(); -} \ No newline at end of file +} diff --git a/model/Sortable.php b/model/Sortable.php index e916f3529..89b3302ba 100644 --- a/model/Sortable.php +++ b/model/Sortable.php @@ -26,4 +26,4 @@ interface SS_Sortable { */ public function sort(); -} \ No newline at end of file +} diff --git a/model/Transliterator.php b/model/Transliterator.php index 943171673..23d28656c 100644 --- a/model/Transliterator.php +++ b/model/Transliterator.php @@ -55,4 +55,4 @@ class Transliterator extends Object { protected function useIconv($source) { return iconv("utf-8", "us-ascii//IGNORE//TRANSLIT", $source); } -} \ No newline at end of file +} diff --git a/model/URLSegmentFilter.php b/model/URLSegmentFilter.php index 2d4edce63..3796b37ef 100644 --- a/model/URLSegmentFilter.php +++ b/model/URLSegmentFilter.php @@ -129,4 +129,4 @@ class URLSegmentFilter extends Object { function getAllowMultibyte() { return ($this->allowMultibyte !== null) ? $this->allowMultibyte : self::$default_allow_multibyte; } -} \ No newline at end of file +} diff --git a/model/ValidationResult.php b/model/ValidationResult.php index cf51dbbc6..f28bc6915 100644 --- a/model/ValidationResult.php +++ b/model/ValidationResult.php @@ -96,4 +96,4 @@ class ValidationResult extends Object { } -} \ No newline at end of file +} diff --git a/model/fieldtypes/Double.php b/model/fieldtypes/Double.php index 21a08c88a..159dc8498 100644 --- a/model/fieldtypes/Double.php +++ b/model/fieldtypes/Double.php @@ -48,4 +48,4 @@ class Double extends DBField { } } -} \ No newline at end of file +} diff --git a/model/fieldtypes/Float.php b/model/fieldtypes/Float.php index cf33493c1..a0372fd9e 100644 --- a/model/fieldtypes/Float.php +++ b/model/fieldtypes/Float.php @@ -67,4 +67,4 @@ class Float extends DBField { } } -} \ No newline at end of file +} diff --git a/model/fieldtypes/HTMLVarchar.php b/model/fieldtypes/HTMLVarchar.php index b9ccc1859..5c0454c8b 100644 --- a/model/fieldtypes/HTMLVarchar.php +++ b/model/fieldtypes/HTMLVarchar.php @@ -26,4 +26,4 @@ class HTMLVarchar extends Varchar { return new TextField($this->name, $title); } -} \ No newline at end of file +} diff --git a/model/fieldtypes/MultiEnum.php b/model/fieldtypes/MultiEnum.php index 652fbe56f..6fbec7d5d 100644 --- a/model/fieldtypes/MultiEnum.php +++ b/model/fieldtypes/MultiEnum.php @@ -51,4 +51,4 @@ class MultiEnum extends Enum { } } - ?> \ No newline at end of file + ?> diff --git a/parsers/HTML/BBCodeParser/Filter/Images.php b/parsers/HTML/BBCodeParser/Filter/Images.php index fd354c1c3..2104396ab 100644 --- a/parsers/HTML/BBCodeParser/Filter/Images.php +++ b/parsers/HTML/BBCodeParser/Filter/Images.php @@ -84,4 +84,4 @@ class SSHTMLBBCodeParser_Filter_Images extends SSHTMLBBCodeParser_Filter $o."img=\"\$2\"\$1".$c.$o."/img".$c, $this->_text); } -} \ No newline at end of file +} diff --git a/security/GroupCsvBulkLoader.php b/security/GroupCsvBulkLoader.php index bf134754c..2eb40cac3 100644 --- a/security/GroupCsvBulkLoader.php +++ b/security/GroupCsvBulkLoader.php @@ -61,4 +61,4 @@ class GroupCsvBulkLoader extends CsvBulkLoader { return $objID; } -} \ No newline at end of file +} diff --git a/security/MemberCsvBulkLoader.php b/security/MemberCsvBulkLoader.php index 144e2f9d2..4bce9f77a 100644 --- a/security/MemberCsvBulkLoader.php +++ b/security/MemberCsvBulkLoader.php @@ -76,4 +76,4 @@ class MemberCsvBulkLoader extends CsvBulkLoader { function getGroups() { return $this->groups; } -} \ No newline at end of file +} diff --git a/security/MemberPassword.php b/security/MemberPassword.php index d53f07693..66b1c00e3 100644 --- a/security/MemberPassword.php +++ b/security/MemberPassword.php @@ -52,4 +52,4 @@ class MemberPassword extends DataObject { } -} \ No newline at end of file +} diff --git a/security/PasswordValidator.php b/security/PasswordValidator.php index bb846d5b7..a7db02f03 100644 --- a/security/PasswordValidator.php +++ b/security/PasswordValidator.php @@ -90,4 +90,4 @@ class PasswordValidator extends Object { return $valid; } -} \ No newline at end of file +} diff --git a/security/PermissionRoleCode.php b/security/PermissionRoleCode.php index 37a916df9..d13d3dcce 100644 --- a/security/PermissionRoleCode.php +++ b/security/PermissionRoleCode.php @@ -13,4 +13,4 @@ class PermissionRoleCode extends DataObject { static $has_one = array( "Role" => "PermissionRole", ); -} \ No newline at end of file +} diff --git a/security/RandomGenerator.php b/security/RandomGenerator.php index fe4ede073..76fd63296 100644 --- a/security/RandomGenerator.php +++ b/security/RandomGenerator.php @@ -69,4 +69,4 @@ class RandomGenerator { return hash($algorithm, $this->generateEntropy()); } -} \ No newline at end of file +} diff --git a/security/SecurityToken.php b/security/SecurityToken.php index dbcbf19dc..d6c1017fc 100644 --- a/security/SecurityToken.php +++ b/security/SecurityToken.php @@ -288,4 +288,4 @@ class NullSecurityToken extends SecurityToken { return null; } -} \ No newline at end of file +} diff --git a/tasks/DailyTask.php b/tasks/DailyTask.php index 805dba2c5..bc06b1afb 100644 --- a/tasks/DailyTask.php +++ b/tasks/DailyTask.php @@ -12,4 +12,4 @@ */ class DailyTask extends ScheduledTask { -} \ No newline at end of file +} diff --git a/tasks/EncryptAllPasswordsTask.php b/tasks/EncryptAllPasswordsTask.php index 14b3bc622..ee4342a8d 100644 --- a/tasks/EncryptAllPasswordsTask.php +++ b/tasks/EncryptAllPasswordsTask.php @@ -70,4 +70,4 @@ class EncryptAllPasswordsTask extends BuildTask { Debug::message($msg); } } -} \ No newline at end of file +} diff --git a/tasks/FlushGeneratedImagesTask.php b/tasks/FlushGeneratedImagesTask.php index bff312b37..feb937e22 100644 --- a/tasks/FlushGeneratedImagesTask.php +++ b/tasks/FlushGeneratedImagesTask.php @@ -41,4 +41,4 @@ class FlushGeneratedImagesTask extends BuildTask { echo "Removed $removedItems generated images from $processedImages Image objects stored in the Database."; } -} \ No newline at end of file +} diff --git a/tasks/HourlyTask.php b/tasks/HourlyTask.php index 8bd8a2424..31e2d0eeb 100644 --- a/tasks/HourlyTask.php +++ b/tasks/HourlyTask.php @@ -11,4 +11,4 @@ */ class HourlyTask extends ScheduledTask { -} \ No newline at end of file +} diff --git a/tasks/WeeklyTask.php b/tasks/WeeklyTask.php index 47ca5d147..b8735234c 100644 --- a/tasks/WeeklyTask.php +++ b/tasks/WeeklyTask.php @@ -11,4 +11,4 @@ */ class WeeklyTask extends ScheduledTask { -} \ No newline at end of file +} diff --git a/tests/MemoryLimitTest.php b/tests/MemoryLimitTest.php index d22ef05b0..0cf0cea82 100644 --- a/tests/MemoryLimitTest.php +++ b/tests/MemoryLimitTest.php @@ -98,4 +98,4 @@ class MemoryLimitTest extends SapphireTest { return true; } -} \ No newline at end of file +} diff --git a/tests/api/RSSFeedTest.php b/tests/api/RSSFeedTest.php index a33137006..3aaa5a556 100644 --- a/tests/api/RSSFeedTest.php +++ b/tests/api/RSSFeedTest.php @@ -115,4 +115,4 @@ class RSSFeedTest_ItemC extends ViewableData { function AbsoluteLink() { return "http://www.example.com/item-c.html"; } -} \ No newline at end of file +} diff --git a/tests/api/SapphireSoapServerTest.php b/tests/api/SapphireSoapServerTest.php index 52c148c60..a77c6ecd6 100644 --- a/tests/api/SapphireSoapServerTest.php +++ b/tests/api/SapphireSoapServerTest.php @@ -28,4 +28,4 @@ class SapphireSoapServerTest_MyServer extends SapphireSoapServer { function Link($action = null) { return Controller::join_links('SapphireSoapServerTest_MyServer', $action); } -} \ No newline at end of file +} diff --git a/tests/api/XMLDataFormatterTest.php b/tests/api/XMLDataFormatterTest.php index f2a961e2d..4aa8329de 100644 --- a/tests/api/XMLDataFormatterTest.php +++ b/tests/api/XMLDataFormatterTest.php @@ -37,4 +37,4 @@ class XMLDataFormatterTest_DataObject extends DataObject implements TestOnly { 'Content' => 'HTMLText' ); -} \ No newline at end of file +} diff --git a/tests/cache/CacheTest.php b/tests/cache/CacheTest.php index 3a96194d5..e594d6e8b 100644 --- a/tests/cache/CacheTest.php +++ b/tests/cache/CacheTest.php @@ -45,4 +45,4 @@ class CacheTest extends SapphireTest { $this->assertEquals('Bar', $cache2->load('cachekey')); } } - \ No newline at end of file + diff --git a/tests/control/HTTPResponseTest.php b/tests/control/HTTPResponseTest.php index 05b42cd23..d4e86046a 100644 --- a/tests/control/HTTPResponseTest.php +++ b/tests/control/HTTPResponseTest.php @@ -30,4 +30,4 @@ class HTTPResponseTest extends SapphireTest { ); } -} \ No newline at end of file +} diff --git a/tests/control/NullHTTPRequestTest.php b/tests/control/NullHTTPRequestTest.php index 2a83e1c7c..215354b73 100644 --- a/tests/control/NullHTTPRequestTest.php +++ b/tests/control/NullHTTPRequestTest.php @@ -19,4 +19,4 @@ class NullHTTPRequestTest extends SapphireTest { $this->assertEquals('', $r->getURL()); } -} \ No newline at end of file +} diff --git a/tests/control/PjaxResponseNegotiatorTest.php b/tests/control/PjaxResponseNegotiatorTest.php index 76ac8df93..1b44e09b2 100644 --- a/tests/control/PjaxResponseNegotiatorTest.php +++ b/tests/control/PjaxResponseNegotiatorTest.php @@ -19,4 +19,4 @@ class PjaxResponseNegotiatorTest extends SapphireTest { $this->assertEquals('myfragment response', $negotiator->respond($request)); } -} \ No newline at end of file +} diff --git a/tests/control/SessionTest.php b/tests/control/SessionTest.php index be53452ab..5e9d3bc26 100644 --- a/tests/control/SessionTest.php +++ b/tests/control/SessionTest.php @@ -51,4 +51,4 @@ class SessionTest extends SapphireTest { $this->assertEquals(Session::get_session_store_path(), ''); } -} \ No newline at end of file +} diff --git a/tests/core/ArrayLibTest.php b/tests/core/ArrayLibTest.php index c126eb7a6..3b713daaa 100644 --- a/tests/core/ArrayLibTest.php +++ b/tests/core/ArrayLibTest.php @@ -187,4 +187,4 @@ class ArrayLibTest extends SapphireTest { 'Numeric keys should behave like string keys' ); } -} \ No newline at end of file +} diff --git a/tests/core/DiffTest.php b/tests/core/DiffTest.php index 1a30f234a..6356a09c9 100644 --- a/tests/core/DiffTest.php +++ b/tests/core/DiffTest.php @@ -53,4 +53,4 @@ class DiffTest extends SapphireTest { $this->assertEquals($compare, $expected); } -} \ No newline at end of file +} diff --git a/tests/core/HTMLCleanerTest.php b/tests/core/HTMLCleanerTest.php index 5ddd9ba46..cc9a2e0ef 100644 --- a/tests/core/HTMLCleanerTest.php +++ b/tests/core/HTMLCleanerTest.php @@ -25,4 +25,4 @@ class HTMLCleanerTest extends SapphireTest { } } -} \ No newline at end of file +} diff --git a/tests/core/ObjectStaticTest.php b/tests/core/ObjectStaticTest.php index 8308b92d5..63cfdd453 100644 --- a/tests/core/ObjectStaticTest.php +++ b/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'); -} \ No newline at end of file +} diff --git a/tests/core/manifest/ClassManifestTest.php b/tests/core/manifest/ClassManifestTest.php index 900021a80..d65fcbe58 100644 --- a/tests/core/manifest/ClassManifestTest.php +++ b/tests/core/manifest/ClassManifestTest.php @@ -120,4 +120,4 @@ class ClassManifestTest extends SapphireTest { public function testManifestExcludeFilesPrefixedWithUnderscore() { $this->assertNotContains('ignore', array_keys($this->manifest->getClasses())); } -} \ No newline at end of file +} diff --git a/tests/core/manifest/ManifestFileFinderTest.php b/tests/core/manifest/ManifestFileFinderTest.php index a5045e52f..af74559aa 100644 --- a/tests/core/manifest/ManifestFileFinderTest.php +++ b/tests/core/manifest/ManifestFileFinderTest.php @@ -58,4 +58,4 @@ class ManifestFileFinderTest extends SapphireTest { )); } -} \ No newline at end of file +} diff --git a/tests/core/manifest/TemplateLoaderTest.php b/tests/core/manifest/TemplateLoaderTest.php index 9f180803a..9e324d1b6 100644 --- a/tests/core/manifest/TemplateLoaderTest.php +++ b/tests/core/manifest/TemplateLoaderTest.php @@ -43,4 +43,4 @@ class TemplateLoaderTest extends SapphireTest { $this->assertEquals($expectCustomPage, $loader->findTemplates(array('CustomPage', 'Page'))); } -} \ No newline at end of file +} diff --git a/tests/core/manifest/TemplateManifestTest.php b/tests/core/manifest/TemplateManifestTest.php index 444a233b2..c9c1137dc 100644 --- a/tests/core/manifest/TemplateManifestTest.php +++ b/tests/core/manifest/TemplateManifestTest.php @@ -95,4 +95,4 @@ class TemplateManifestTest extends SapphireTest { $this->assertEquals($expectTests, $this->manifestTests->getTemplate('Test')); } -} \ No newline at end of file +} diff --git a/tests/core/manifest/fixtures/classmanifest/module/classes/ClassA.php b/tests/core/manifest/fixtures/classmanifest/module/classes/ClassA.php index 375e6bb56..010c7fc8b 100644 --- a/tests/core/manifest/fixtures/classmanifest/module/classes/ClassA.php +++ b/tests/core/manifest/fixtures/classmanifest/module/classes/ClassA.php @@ -2,4 +2,4 @@ /** * @ignore */ -class ClassA { } \ No newline at end of file +class ClassA { } diff --git a/tests/core/manifest/fixtures/classmanifest/module/classes/ClassB.php b/tests/core/manifest/fixtures/classmanifest/module/classes/ClassB.php index 8df72fcc3..5c9218af2 100644 --- a/tests/core/manifest/fixtures/classmanifest/module/classes/ClassB.php +++ b/tests/core/manifest/fixtures/classmanifest/module/classes/ClassB.php @@ -2,4 +2,4 @@ /** * @ignore */ -class ClassB implements InterfaceA { } \ No newline at end of file +class ClassB implements InterfaceA { } diff --git a/tests/core/manifest/fixtures/classmanifest/module/classes/ClassC.php b/tests/core/manifest/fixtures/classmanifest/module/classes/ClassC.php index ac9962411..00bb5e8d9 100644 --- a/tests/core/manifest/fixtures/classmanifest/module/classes/ClassC.php +++ b/tests/core/manifest/fixtures/classmanifest/module/classes/ClassC.php @@ -2,4 +2,4 @@ /** * @ignore */ -class ClassC extends ClassA implements InterfaceB { } \ No newline at end of file +class ClassC extends ClassA implements InterfaceB { } diff --git a/tests/core/manifest/fixtures/classmanifest/module/classes/ClassD.php b/tests/core/manifest/fixtures/classmanifest/module/classes/ClassD.php index 32f8e6e58..d8ed9f7cd 100644 --- a/tests/core/manifest/fixtures/classmanifest/module/classes/ClassD.php +++ b/tests/core/manifest/fixtures/classmanifest/module/classes/ClassD.php @@ -2,4 +2,4 @@ /** * @ignore */ -class ClassD extends ClassC { } \ No newline at end of file +class ClassD extends ClassC { } diff --git a/tests/core/manifest/fixtures/classmanifest/module/classes/_Ignore.php b/tests/core/manifest/fixtures/classmanifest/module/classes/_Ignore.php index 2751fa590..69e6ddfd0 100644 --- a/tests/core/manifest/fixtures/classmanifest/module/classes/_Ignore.php +++ b/tests/core/manifest/fixtures/classmanifest/module/classes/_Ignore.php @@ -2,4 +2,4 @@ /** * @ignore */ -class Ignore extends ClassC { } \ No newline at end of file +class Ignore extends ClassC { } diff --git a/tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceA.php b/tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceA.php index e5d166fdb..d49f0caa1 100644 --- a/tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceA.php +++ b/tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceA.php @@ -2,4 +2,4 @@ /** * @ignore */ -interface InterfaceA { } \ No newline at end of file +interface InterfaceA { } diff --git a/tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceB.php b/tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceB.php index f679fc216..a22b96e78 100644 --- a/tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceB.php +++ b/tests/core/manifest/fixtures/classmanifest/module/interfaces/InterfaceB.php @@ -2,4 +2,4 @@ /** * @ignore */ -interface InterfaceB { } \ No newline at end of file +interface InterfaceB { } diff --git a/tests/core/manifest/fixtures/classmanifest/module/tests/TestClassA.php b/tests/core/manifest/fixtures/classmanifest/module/tests/TestClassA.php index d842ae429..946b79432 100644 --- a/tests/core/manifest/fixtures/classmanifest/module/tests/TestClassA.php +++ b/tests/core/manifest/fixtures/classmanifest/module/tests/TestClassA.php @@ -2,4 +2,4 @@ /** * @ignore */ -class TestClassA { } \ No newline at end of file +class TestClassA { } diff --git a/tests/dev/BacktraceTest.php b/tests/dev/BacktraceTest.php index 2cb428969..8b0c32fad 100644 --- a/tests/dev/BacktraceTest.php +++ b/tests/dev/BacktraceTest.php @@ -63,4 +63,4 @@ class BacktraceTest extends SapphireTest { SS_Backtrace::$ignore_function_args = $orig; } -} \ No newline at end of file +} diff --git a/tests/dev/CSVParserTest.php b/tests/dev/CSVParserTest.php index 83182b742..dc983f49b 100644 --- a/tests/dev/CSVParserTest.php +++ b/tests/dev/CSVParserTest.php @@ -84,4 +84,4 @@ class CSVParserTest extends SapphireTest { $this->assertEquals(array('IsRegistered', '1', '0', '1', '1'), $registered); } -} \ No newline at end of file +} diff --git a/tests/dev/LogTest.php b/tests/dev/LogTest.php index 8870061ed..8172b48b1 100644 --- a/tests/dev/LogTest.php +++ b/tests/dev/LogTest.php @@ -67,4 +67,4 @@ class SS_LogTest extends SapphireTest { ); } -} \ No newline at end of file +} diff --git a/tests/filesystem/FileFinderTest.php b/tests/filesystem/FileFinderTest.php index bb59287b0..085bbfa81 100644 --- a/tests/filesystem/FileFinderTest.php +++ b/tests/filesystem/FileFinderTest.php @@ -111,4 +111,4 @@ class FileFinderTest extends SapphireTest { $this->assertEquals($expect, $found, $message); } -} \ No newline at end of file +} diff --git a/tests/filesystem/FileNameFilterTest.php b/tests/filesystem/FileNameFilterTest.php index bab7d1f7a..08c4a53e4 100644 --- a/tests/filesystem/FileNameFilterTest.php +++ b/tests/filesystem/FileNameFilterTest.php @@ -54,4 +54,4 @@ class FileNameFilterTest extends SapphireTest { ); } -} \ No newline at end of file +} diff --git a/tests/filesystem/FolderTest.php b/tests/filesystem/FolderTest.php index c1fd27f5e..ac8a2d784 100644 --- a/tests/filesystem/FolderTest.php +++ b/tests/filesystem/FolderTest.php @@ -286,4 +286,4 @@ class FolderTest extends SapphireTest { parent::tearDown(); } -} \ No newline at end of file +} diff --git a/tests/filesystem/UploadTest.php b/tests/filesystem/UploadTest.php index 23ef64213..0561770c9 100644 --- a/tests/filesystem/UploadTest.php +++ b/tests/filesystem/UploadTest.php @@ -362,4 +362,4 @@ class UploadTest_Validator extends Upload_Validator implements TestOnly { return true; } -} \ No newline at end of file +} diff --git a/tests/forms/CheckboxSetFieldTest.php b/tests/forms/CheckboxSetFieldTest.php index 69d281e7a..d63239718 100644 --- a/tests/forms/CheckboxSetFieldTest.php +++ b/tests/forms/CheckboxSetFieldTest.php @@ -139,4 +139,4 @@ class CheckboxSetFieldTest_Tag extends DataObject implements TestOnly { static $belongs_many_many = array( 'Articles' => 'CheckboxSetFieldTest_Article' ); -} \ No newline at end of file +} diff --git a/tests/forms/DatefieldViewJQueryTest.php b/tests/forms/DatefieldViewJQueryTest.php index 23b8a070a..1c7d6b8de 100644 --- a/tests/forms/DatefieldViewJQueryTest.php +++ b/tests/forms/DatefieldViewJQueryTest.php @@ -40,4 +40,4 @@ class DateFieldViewJQueryTest extends SapphireTest { 'Full month name' ); } -} \ No newline at end of file +} diff --git a/tests/forms/DatetimeFieldTest.php b/tests/forms/DatetimeFieldTest.php index eb296c197..db7b0cafe 100644 --- a/tests/forms/DatetimeFieldTest.php +++ b/tests/forms/DatetimeFieldTest.php @@ -180,4 +180,4 @@ class DatetimeFieldTest_Model extends DataObject implements TestOnly { 'MyDatetime' => 'SS_Datetime' ); -} \ No newline at end of file +} diff --git a/tests/forms/FileFieldTest.php b/tests/forms/FileFieldTest.php index 160a3ef10..a4ee34920 100644 --- a/tests/forms/FileFieldTest.php +++ b/tests/forms/FileFieldTest.php @@ -77,4 +77,4 @@ class FileFieldTest extends FunctionalTest { 'A null value was passed as parameter for an uploaded file, but the validator returned true' ); } -} \ No newline at end of file +} diff --git a/tests/forms/GridFieldTest.php b/tests/forms/GridFieldTest.php index 7c5c424be..957801bff 100644 --- a/tests/forms/GridFieldTest.php +++ b/tests/forms/GridFieldTest.php @@ -530,4 +530,4 @@ class GridFieldTest_Permissions extends DataObject implements TestOnly { if(!($this->ID % 2)){ return false; } return true; } -} \ No newline at end of file +} diff --git a/tests/forms/HtmlEditorConfigTest.php b/tests/forms/HtmlEditorConfigTest.php index bb0e855ee..613fa395c 100644 --- a/tests/forms/HtmlEditorConfigTest.php +++ b/tests/forms/HtmlEditorConfigTest.php @@ -75,4 +75,4 @@ class HtmlEditorConfigTest extends SapphireTest { $this->assertContains('plugin1', $c->generateJS()); $this->assertContains('tinymce.PluginManager.load("plugin2", "/mypath/plugin2");', $c->generateJS()); } -} \ No newline at end of file +} diff --git a/tests/forms/HtmlEditorFieldTest.php b/tests/forms/HtmlEditorFieldTest.php index e7bdce6fa..76934c75d 100644 --- a/tests/forms/HtmlEditorFieldTest.php +++ b/tests/forms/HtmlEditorFieldTest.php @@ -112,4 +112,4 @@ class HtmlEditorFieldTest_Object extends DataObject implements TestOnly { 'Title' => 'Varchar', 'Content' => 'HTMLText' ); -} \ No newline at end of file +} diff --git a/tests/forms/OptionsetFieldTest.php b/tests/forms/OptionsetFieldTest.php index 113395454..e2ab23d8f 100644 --- a/tests/forms/OptionsetFieldTest.php +++ b/tests/forms/OptionsetFieldTest.php @@ -24,4 +24,4 @@ class OptionsetFieldTest extends SapphireTest { '' ); } -} \ No newline at end of file +} diff --git a/tests/forms/TableFieldTest.php b/tests/forms/TableFieldTest.php index 5662cd114..08b4e192d 100644 --- a/tests/forms/TableFieldTest.php +++ b/tests/forms/TableFieldTest.php @@ -260,4 +260,4 @@ class TableFieldTest_HasManyRelation extends DataObject implements TestOnly { static $has_one = array( 'HasOneRelation' => 'TableFieldTest_Object' ); -} \ No newline at end of file +} diff --git a/tests/forms/TableListFieldTest.php b/tests/forms/TableListFieldTest.php index 4123c9915..d37e3d7dd 100644 --- a/tests/forms/TableListFieldTest.php +++ b/tests/forms/TableListFieldTest.php @@ -371,4 +371,4 @@ class TableListFieldTest_TestController extends Controller { $table ), new FieldList()); } -} \ No newline at end of file +} diff --git a/tests/forms/TextareaFieldTest.php b/tests/forms/TextareaFieldTest.php index 5e1a421ba..589fed008 100644 --- a/tests/forms/TextareaFieldTest.php +++ b/tests/forms/TextareaFieldTest.php @@ -23,4 +23,4 @@ class TextareaFieldTest extends SapphireTest { $this->assertContains('This is my <text>These are some unicodes: äöü&<>', $field->Field()); } -} \ No newline at end of file +} diff --git a/tests/forms/TimeFieldTest.php b/tests/forms/TimeFieldTest.php index 5ccb9bc7b..0d3ea4b3c 100644 --- a/tests/forms/TimeFieldTest.php +++ b/tests/forms/TimeFieldTest.php @@ -99,4 +99,4 @@ class TimeFieldTest extends SapphireTest { $field->setValue(''); $this->assertEquals($field->dataValue(), ''); } -} \ No newline at end of file +} diff --git a/tests/forms/gridfield/GridFieldConfigTest.php b/tests/forms/gridfield/GridFieldConfigTest.php index e979f5a2b..388f7e029 100644 --- a/tests/forms/gridfield/GridFieldConfigTest.php +++ b/tests/forms/gridfield/GridFieldConfigTest.php @@ -121,4 +121,4 @@ class GridFieldConfigTest_MyComponent implements GridField_URLHandler, TestOnly class GridFieldConfigTest_MyOtherComponent implements GridField_URLHandler, TestOnly { function getURLHandlers($gridField) {return array();} -} \ No newline at end of file +} diff --git a/tests/forms/gridfield/GridField_URLHandlerTest.php b/tests/forms/gridfield/GridField_URLHandlerTest.php index aa1e28f5f..42230a5a7 100644 --- a/tests/forms/gridfield/GridField_URLHandlerTest.php +++ b/tests/forms/gridfield/GridField_URLHandlerTest.php @@ -130,4 +130,4 @@ class GridField_URLHandlerTest_Component_ItemRequest extends RequestHandler { function testpage() { return "Test page for item #" . $this->id; } -} \ No newline at end of file +} diff --git a/tests/i18n/_fakewebroot/i18ntestmodule/code/i18nTestModule.php b/tests/i18n/_fakewebroot/i18ntestmodule/code/i18nTestModule.php index e599f2c23..9275007fd 100644 --- a/tests/i18n/_fakewebroot/i18ntestmodule/code/i18nTestModule.php +++ b/tests/i18n/_fakewebroot/i18ntestmodule/code/i18nTestModule.php @@ -18,4 +18,4 @@ class i18nTestModule_Addition extends Object { function myAdditionalMethod() { _t('i18nTestModule.ADDITION','Addition'); } -} \ No newline at end of file +} diff --git a/tests/integration/HTMLValueTest.php b/tests/integration/HTMLValueTest.php index ecfe46c0d..572672a8c 100644 --- a/tests/integration/HTMLValueTest.php +++ b/tests/integration/HTMLValueTest.php @@ -50,4 +50,4 @@ class SS_HTMLValueTest extends SapphireTest { ); } -} \ No newline at end of file +} diff --git a/tests/model/ArrayListTest.php b/tests/model/ArrayListTest.php index f06f1a312..bf41606bc 100644 --- a/tests/model/ArrayListTest.php +++ b/tests/model/ArrayListTest.php @@ -584,4 +584,4 @@ class ArrayListTest_Object { return array('First' => $this->First, 'Second' => $this->Second); } -} \ No newline at end of file +} diff --git a/tests/model/ComponentSetTest.php b/tests/model/ComponentSetTest.php index eb8cbf428..f625e6eba 100644 --- a/tests/model/ComponentSetTest.php +++ b/tests/model/ComponentSetTest.php @@ -72,4 +72,4 @@ class ComponentSetTest_Team extends DataObject implements TestOnly { static $many_many = array( 'Players' => 'ComponentSetTest_Player' ); -} \ No newline at end of file +} diff --git a/tests/model/CurrencyTest.php b/tests/model/CurrencyTest.php index e7ac3db2d..697b75600 100644 --- a/tests/model/CurrencyTest.php +++ b/tests/model/CurrencyTest.php @@ -37,4 +37,4 @@ class CurrencyTest extends SapphireTest { } } -} \ No newline at end of file +} diff --git a/tests/model/DataObjectSchemaGenerationTest.php b/tests/model/DataObjectSchemaGenerationTest.php index 7e1001eec..2abfa55cc 100644 --- a/tests/model/DataObjectSchemaGenerationTest.php +++ b/tests/model/DataObjectSchemaGenerationTest.php @@ -33,4 +33,4 @@ class DataObjectSchemaGenerationTest_DO extends DataObject implements TestOnly { 'Enum2' => 'Enum("A, B, C, D","A")', ); -} \ No newline at end of file +} diff --git a/tests/model/DbDatetimeTest.php b/tests/model/DbDatetimeTest.php index 211100284..76ffc4cc7 100644 --- a/tests/model/DbDatetimeTest.php +++ b/tests/model/DbDatetimeTest.php @@ -134,4 +134,4 @@ class DbDateTimeTest_Team extends DataObject implements TestOnly { static $db = array( 'Title' => 'Varchar' ); -} \ No newline at end of file +} diff --git a/tests/model/DecimalTest.php b/tests/model/DecimalTest.php index 54067380f..eb5f8604c 100644 --- a/tests/model/DecimalTest.php +++ b/tests/model/DecimalTest.php @@ -54,4 +54,4 @@ class DecimalTest_DataObject extends DataObject implements TestOnly { 'MyDecimal4' => 4 ); -} \ No newline at end of file +} diff --git a/tests/model/HasManyListTest.php b/tests/model/HasManyListTest.php index f9394d4de..1bb3b56fa 100644 --- a/tests/model/HasManyListTest.php +++ b/tests/model/HasManyListTest.php @@ -17,4 +17,4 @@ class HasManyListTest extends SapphireTest { $this->assertEquals(array(), $newTeam->Comments()->column('ID')); } -} \ No newline at end of file +} diff --git a/tests/model/HierarchyTest.php b/tests/model/HierarchyTest.php index 2526b39b4..ccffbc548 100644 --- a/tests/model/HierarchyTest.php +++ b/tests/model/HierarchyTest.php @@ -172,4 +172,4 @@ class HierarchyTest_Object extends DataObject implements TestOnly { 'Hierarchy', "Versioned('Stage', 'Live')", ); -} \ No newline at end of file +} diff --git a/tests/model/ImageTest.php b/tests/model/ImageTest.php index 21c38f8bf..0202cd35f 100644 --- a/tests/model/ImageTest.php +++ b/tests/model/ImageTest.php @@ -102,4 +102,4 @@ class ImageTest extends SapphireTest { $image->deleteFormattedImages(); $this->assertFalse(file_exists($p)); } -} \ No newline at end of file +} diff --git a/tests/model/MySQLDatabaseTest.php b/tests/model/MySQLDatabaseTest.php index 33a61038f..8ec0c9de7 100644 --- a/tests/model/MySQLDatabaseTest.php +++ b/tests/model/MySQLDatabaseTest.php @@ -46,4 +46,4 @@ class MySQLDatabaseTest extends SapphireTest { class MySQLDatabaseTest_DO extends DataObject implements TestOnly { static $db = array(); -} \ No newline at end of file +} diff --git a/tests/model/PaginatedListTest.php b/tests/model/PaginatedListTest.php index fc367034c..13e9833f4 100644 --- a/tests/model/PaginatedListTest.php +++ b/tests/model/PaginatedListTest.php @@ -244,4 +244,4 @@ class PaginatedListTest extends SapphireTest { $this->assertContains('start=30', $list->PrevLink()); } -} \ No newline at end of file +} diff --git a/tests/model/StringFieldTest.php b/tests/model/StringFieldTest.php index 2604da2e6..c50bc4eb1 100644 --- a/tests/model/StringFieldTest.php +++ b/tests/model/StringFieldTest.php @@ -30,4 +30,4 @@ class StringFieldTest extends SapphireTest { class StringFieldTest_MyStringField extends StringField implements TestOnly { function requireField() {} -} \ No newline at end of file +} diff --git a/tests/model/TextTest.php b/tests/model/TextTest.php index bff8e329e..edcb2ca44 100644 --- a/tests/model/TextTest.php +++ b/tests/model/TextTest.php @@ -168,4 +168,4 @@ class TextTest extends SapphireTest { $data = DBField::create_field('Text', '"this is a test"'); $this->assertEquals($data->ATT(), '"this is a test"'); } -} \ No newline at end of file +} diff --git a/tests/model/TransactionTest.php b/tests/model/TransactionTest.php index 5c2cb564e..9d0223dcc 100644 --- a/tests/model/TransactionTest.php +++ b/tests/model/TransactionTest.php @@ -60,4 +60,4 @@ class TransactionTest_Object extends DataObject implements TestOnly { static $db = array( 'Title' => 'Varchar(255)' ); -} \ No newline at end of file +} diff --git a/tests/model/URLSegmentFilterTest.php b/tests/model/URLSegmentFilterTest.php index f99679a14..cd438b7de 100644 --- a/tests/model/URLSegmentFilterTest.php +++ b/tests/model/URLSegmentFilterTest.php @@ -49,4 +49,4 @@ class URLSegmentFilterTest extends SapphireTest { ); } -} \ No newline at end of file +} diff --git a/tests/search/FulltextSearchableTest.php b/tests/search/FulltextSearchableTest.php index f64655992..c362a3652 100644 --- a/tests/search/FulltextSearchableTest.php +++ b/tests/search/FulltextSearchableTest.php @@ -37,4 +37,4 @@ class FulltextSearchableTest extends SapphireTest { $this->assertFalse(Object::has_extension('File', 'FulltextSearchable')); } -} \ No newline at end of file +} diff --git a/tests/security/BasicAuthTest.php b/tests/security/BasicAuthTest.php index b27329c8d..f834e126b 100644 --- a/tests/security/BasicAuthTest.php +++ b/tests/security/BasicAuthTest.php @@ -142,4 +142,4 @@ class BasicAuthTest_ControllerSecuredWithoutPermission extends Controller implem parent::init(); } -} \ No newline at end of file +} diff --git a/tests/security/GroupCsvBulkLoaderTest.php b/tests/security/GroupCsvBulkLoaderTest.php index 20c0611f6..2f6b6d14d 100644 --- a/tests/security/GroupCsvBulkLoaderTest.php +++ b/tests/security/GroupCsvBulkLoaderTest.php @@ -55,4 +55,4 @@ class GroupCsvBulkLoaderTest extends SapphireTest { $this->assertEquals($array1, $array2); } -} \ No newline at end of file +} diff --git a/tests/security/MemberAuthenticatorTest.php b/tests/security/MemberAuthenticatorTest.php index 78bf2a735..631a36edc 100644 --- a/tests/security/MemberAuthenticatorTest.php +++ b/tests/security/MemberAuthenticatorTest.php @@ -62,4 +62,4 @@ class MemberAuthenticatorTest extends SapphireTest { Member::set_unique_identifier_field($origField); } -} \ No newline at end of file +} diff --git a/tests/security/MemberCsvBulkLoaderTest.php b/tests/security/MemberCsvBulkLoaderTest.php index 350d0a228..731f0e322 100644 --- a/tests/security/MemberCsvBulkLoaderTest.php +++ b/tests/security/MemberCsvBulkLoaderTest.php @@ -74,4 +74,4 @@ class MemberCsvBulkLoaderTest extends SapphireTest { $result = $member->checkPassword('mypassword'); $this->assertTrue($result->valid()); } -} \ No newline at end of file +} diff --git a/tests/security/PasswordEncryptorTest.php b/tests/security/PasswordEncryptorTest.php index 3b4f36683..5cdff1c80 100644 --- a/tests/security/PasswordEncryptorTest.php +++ b/tests/security/PasswordEncryptorTest.php @@ -94,4 +94,4 @@ class PasswordEncryptorTest_TestEncryptor extends PasswordEncryptor implements T function salt($password, $member = null) { return 'salt'; } -} \ No newline at end of file +} diff --git a/tests/security/PasswordValidatorTest.php b/tests/security/PasswordValidatorTest.php index 7cd569d72..44e329031 100644 --- a/tests/security/PasswordValidatorTest.php +++ b/tests/security/PasswordValidatorTest.php @@ -41,4 +41,4 @@ class PasswordValidatorTest extends SapphireTest { function testHistoricalPasswordCount() { // TODO } -} \ No newline at end of file +} diff --git a/tests/security/PermissionCheckboxSetFieldTest.php b/tests/security/PermissionCheckboxSetFieldTest.php index 7216ed3c0..829564086 100644 --- a/tests/security/PermissionCheckboxSetFieldTest.php +++ b/tests/security/PermissionCheckboxSetFieldTest.php @@ -84,4 +84,4 @@ class PermissionCheckboxSetFieldTest extends SapphireTest { $this->assertEquals(DataObject::get('Permission')->Count(), $baseCount+1, 'There are no orphaned permissions'); } -} \ No newline at end of file +} diff --git a/tests/security/PermissionTest.php b/tests/security/PermissionTest.php index 03cb09340..f88539a0d 100644 --- a/tests/security/PermissionTest.php +++ b/tests/security/PermissionTest.php @@ -80,4 +80,4 @@ class PermissionTest extends SapphireTest { $this->assertContains('CMS_ACCESS_AssetAdmin', $permissionCheckboxSet->Field()); Permission::remove_from_hidden_permissions('CMS_ACCESS_CMSMain'); } -} \ No newline at end of file +} diff --git a/tests/security/RandomGeneratorTest.php b/tests/security/RandomGeneratorTest.php index 2a41ecdfa..f28072d64 100644 --- a/tests/security/RandomGeneratorTest.php +++ b/tests/security/RandomGeneratorTest.php @@ -24,4 +24,4 @@ class RandomGeneratorTest extends SapphireTest { $this->assertNotEquals($r->generateHash(), $r->generateHash('md5')); } -} \ No newline at end of file +} diff --git a/tests/security/SecurityDefaultAdminTest.php b/tests/security/SecurityDefaultAdminTest.php index 1b94eb2ad..08e8743ec 100644 --- a/tests/security/SecurityDefaultAdminTest.php +++ b/tests/security/SecurityDefaultAdminTest.php @@ -46,4 +46,4 @@ class SecurityDefaultAdminTest extends SapphireTest { $this->assertNull($admin->Password); } -} \ No newline at end of file +} diff --git a/tests/security/SecurityTest.php b/tests/security/SecurityTest.php index 003e8ac0d..d91bdd820 100644 --- a/tests/security/SecurityTest.php +++ b/tests/security/SecurityTest.php @@ -430,4 +430,4 @@ class SecurityTest_SecuredController extends Controller implements TestOnly { return 'Success'; } -} \ No newline at end of file +} diff --git a/tests/security/SecurityTokenTest.php b/tests/security/SecurityTokenTest.php index 9826eb4c4..f141449df 100644 --- a/tests/security/SecurityTokenTest.php +++ b/tests/security/SecurityTokenTest.php @@ -142,4 +142,4 @@ class SecurityTokenTest extends SapphireTest { $this->assertNotEquals($t1->getName(), $t2->getName()); $this->assertNotEquals($t1->getValue(), $t2->getValue()); } -} \ No newline at end of file +} diff --git a/tests/view/SSViewerCacheBlockTest.php b/tests/view/SSViewerCacheBlockTest.php index 0cae9d729..63b631644 100644 --- a/tests/view/SSViewerCacheBlockTest.php +++ b/tests/view/SSViewerCacheBlockTest.php @@ -220,4 +220,4 @@ class SSViewerCacheBlockTest extends SapphireTest { $this->_runtemplate('<% cached Foo if %>$Bar<% end_cached %>'); } -} \ No newline at end of file +} diff --git a/tests/view/ViewableDataTest.php b/tests/view/ViewableDataTest.php index 0e3bc81cc..dcd5f0e68 100644 --- a/tests/view/ViewableDataTest.php +++ b/tests/view/ViewableDataTest.php @@ -211,4 +211,4 @@ class ViewableDataTest_CastingClass extends ViewableData { ); } -/**#@-*/ \ No newline at end of file +/**#@-*/ diff --git a/thirdparty/Zend/Log/FactoryInterface.php b/thirdparty/Zend/Log/FactoryInterface.php index 0cb5d6b31..7b3d77e92 100644 --- a/thirdparty/Zend/Log/FactoryInterface.php +++ b/thirdparty/Zend/Log/FactoryInterface.php @@ -35,4 +35,4 @@ interface Zend_Log_FactoryInterface * @return Zend_Log_FactoryInterface */ static public function factory($config); -} \ No newline at end of file +} diff --git a/thirdparty/Zend/Log/Formatter/Abstract.php b/thirdparty/Zend/Log/Formatter/Abstract.php index 59a67e3e5..dc53c751c 100644 --- a/thirdparty/Zend/Log/Formatter/Abstract.php +++ b/thirdparty/Zend/Log/Formatter/Abstract.php @@ -37,4 +37,4 @@ require_once 'Zend/Log/FactoryInterface.php'; abstract class Zend_Log_Formatter_Abstract implements Zend_Log_Formatter_Interface, Zend_Log_FactoryInterface { -} \ No newline at end of file +} diff --git a/thirdparty/Zend/Log/Formatter/Firebug.php b/thirdparty/Zend/Log/Formatter/Firebug.php index 1dcab22c1..90b36fdd9 100644 --- a/thirdparty/Zend/Log/Formatter/Firebug.php +++ b/thirdparty/Zend/Log/Formatter/Firebug.php @@ -58,4 +58,4 @@ class Zend_Log_Formatter_Firebug extends Zend_Log_Formatter_Abstract { return $event['message']; } -} \ No newline at end of file +} diff --git a/thirdparty/Zend/Log/Formatter/Simple.php b/thirdparty/Zend/Log/Formatter/Simple.php index f73611618..a855b858f 100644 --- a/thirdparty/Zend/Log/Formatter/Simple.php +++ b/thirdparty/Zend/Log/Formatter/Simple.php @@ -105,4 +105,4 @@ class Zend_Log_Formatter_Simple extends Zend_Log_Formatter_Abstract return $output; } -} \ No newline at end of file +} diff --git a/thirdparty/Zend/Log/Writer/Syslog.php b/thirdparty/Zend/Log/Writer/Syslog.php index fe5e49477..a476c6001 100644 --- a/thirdparty/Zend/Log/Writer/Syslog.php +++ b/thirdparty/Zend/Log/Writer/Syslog.php @@ -264,4 +264,4 @@ class Zend_Log_Writer_Syslog extends Zend_Log_Writer_Abstract syslog($priority, $message); } -} \ No newline at end of file +} diff --git a/thirdparty/jquery-validate/demo/captcha/image_req.php b/thirdparty/jquery-validate/demo/captcha/image_req.php index 6a65774c6..d79a47bd2 100644 --- a/thirdparty/jquery-validate/demo/captcha/image_req.php +++ b/thirdparty/jquery-validate/demo/captcha/image_req.php @@ -3,4 +3,4 @@ // Echo the image - timestamp appended to prevent caching echo 'Captcha image'; -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/demo/captcha/images/image.php b/thirdparty/jquery-validate/demo/captcha/images/image.php index bc571ab58..098fe80bb 100644 --- a/thirdparty/jquery-validate/demo/captcha/images/image.php +++ b/thirdparty/jquery-validate/demo/captcha/images/image.php @@ -32,4 +32,4 @@ imagettftext($image, 14, $rotate, 18, 30, $colour, $font, $str); // Output the image as a png imagepng($image); -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/demo/captcha/index.php b/thirdparty/jquery-validate/demo/captcha/index.php index 74bd54f50..d9174af6e 100644 --- a/thirdparty/jquery-validate/demo/captcha/index.php +++ b/thirdparty/jquery-validate/demo/captcha/index.php @@ -63,4 +63,4 @@ $_SESSION['captcha_id'] = $str; - \ No newline at end of file + diff --git a/thirdparty/jquery-validate/demo/captcha/newsession.php b/thirdparty/jquery-validate/demo/captcha/newsession.php index 36ff45e27..145ca9bfb 100644 --- a/thirdparty/jquery-validate/demo/captcha/newsession.php +++ b/thirdparty/jquery-validate/demo/captcha/newsession.php @@ -9,4 +9,4 @@ session_start(); // Set the session contents $_SESSION['captcha_id'] = $str; -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/demo/captcha/process.php b/thirdparty/jquery-validate/demo/captcha/process.php index 24fe3a8bc..e3a7e7d6f 100644 --- a/thirdparty/jquery-validate/demo/captcha/process.php +++ b/thirdparty/jquery-validate/demo/captcha/process.php @@ -11,4 +11,4 @@ if(strtoupper($_GET['captcha']) == $_SESSION['captcha_id']) else echo 'false'; -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/demo/captcha/rand.php b/thirdparty/jquery-validate/demo/captcha/rand.php index 88b595e77..e3e9389ed 100644 --- a/thirdparty/jquery-validate/demo/captcha/rand.php +++ b/thirdparty/jquery-validate/demo/captcha/rand.php @@ -8,4 +8,4 @@ $char = strtoupper(substr(str_shuffle('abcdefghjkmnpqrstuvwxyz'), 0, 4)); // '0' is left out to avoid confusion with 'O' $str = rand(1, 7) . rand(1, 7) . $char; -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/demo/form.php b/thirdparty/jquery-validate/demo/form.php index b25c6ef48..6539fd74b 100644 --- a/thirdparty/jquery-validate/demo/form.php +++ b/thirdparty/jquery-validate/demo/form.php @@ -7,4 +7,4 @@ if($user && $pw && $pw == "foobar") echo "Hi $user, welcome back."; else echo "Your password is wrong (must be foobar)."; -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/demo/marketo/emails.php b/thirdparty/jquery-validate/demo/marketo/emails.php index fc45dbd2d..d0fa6cb04 100644 --- a/thirdparty/jquery-validate/demo/marketo/emails.php +++ b/thirdparty/jquery-validate/demo/marketo/emails.php @@ -7,4 +7,4 @@ foreach($emails as $email) { $valid = 'false'; } echo $valid; -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/demo/milk/emails.php b/thirdparty/jquery-validate/demo/milk/emails.php index 059ac14d7..86b4bc175 100644 --- a/thirdparty/jquery-validate/demo/milk/emails.php +++ b/thirdparty/jquery-validate/demo/milk/emails.php @@ -7,4 +7,4 @@ foreach($emails as $email) { $valid = '"Thats already taken."'; } echo $valid; -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/demo/milk/users.php b/thirdparty/jquery-validate/demo/milk/users.php index 4fef967f1..dba2f3986 100644 --- a/thirdparty/jquery-validate/demo/milk/users.php +++ b/thirdparty/jquery-validate/demo/milk/users.php @@ -9,4 +9,4 @@ foreach($users as $user) { $valid = 'false'; } echo $valid; -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/test/users.php b/thirdparty/jquery-validate/test/users.php index 08b8fd5f3..c651f6340 100644 --- a/thirdparty/jquery-validate/test/users.php +++ b/thirdparty/jquery-validate/test/users.php @@ -8,4 +8,4 @@ foreach($users as $user) { $valid = 'false'; } echo $valid; -?> \ No newline at end of file +?> diff --git a/thirdparty/jquery-validate/test/users2.php b/thirdparty/jquery-validate/test/users2.php index 3a185cd12..ebd7340bb 100644 --- a/thirdparty/jquery-validate/test/users2.php +++ b/thirdparty/jquery-validate/test/users2.php @@ -8,4 +8,4 @@ foreach($users as $user) { $valid = "\"$user is already taken, please try something else\""; } echo $valid; -?> \ No newline at end of file +?> diff --git a/thirdparty/jsmin/jsmin.php b/thirdparty/jsmin/jsmin.php index 3267b6431..121d0612b 100644 --- a/thirdparty/jsmin/jsmin.php +++ b/thirdparty/jsmin/jsmin.php @@ -322,4 +322,4 @@ class JSMin { // -- Exceptions --------------------------------------------------------------- class JSMinException extends Exception {} -?> \ No newline at end of file +?> diff --git a/thirdparty/jstree/_demo/_inc/class._database.php b/thirdparty/jstree/_demo/_inc/class._database.php index 9b6fd56ae..241b2ad84 100644 --- a/thirdparty/jstree/_demo/_inc/class._database.php +++ b/thirdparty/jstree/_demo/_inc/class._database.php @@ -143,4 +143,4 @@ class _database { } -?> \ No newline at end of file +?> diff --git a/thirdparty/jstree/_demo/_inc/class._database_i.php b/thirdparty/jstree/_demo/_inc/class._database_i.php index 04f9ee7f9..e5f7b6b44 100644 --- a/thirdparty/jstree/_demo/_inc/class._database_i.php +++ b/thirdparty/jstree/_demo/_inc/class._database_i.php @@ -149,4 +149,4 @@ class _database { } -} \ No newline at end of file +} diff --git a/thirdparty/jstree/_demo/_inc/class.tree.php b/thirdparty/jstree/_demo/_inc/class.tree.php index 690b0a3dc..f0b0b04f3 100644 --- a/thirdparty/jstree/_demo/_inc/class.tree.php +++ b/thirdparty/jstree/_demo/_inc/class.tree.php @@ -599,4 +599,4 @@ class json_tree extends _tree_struct { } } -?> \ No newline at end of file +?> diff --git a/thirdparty/jstree/_demo/config.php b/thirdparty/jstree/_demo/config.php index 354f6a9a9..9b3c81e52 100644 --- a/thirdparty/jstree/_demo/config.php +++ b/thirdparty/jstree/_demo/config.php @@ -11,4 +11,4 @@ else require_once("_inc/class._database.php"); // Tree class require_once("_inc/class.tree.php"); -?> \ No newline at end of file +?> diff --git a/thirdparty/jstree/_demo/server.php b/thirdparty/jstree/_demo/server.php index dd435179b..21439d768 100644 --- a/thirdparty/jstree/_demo/server.php +++ b/thirdparty/jstree/_demo/server.php @@ -66,4 +66,4 @@ $tree->dump(true); echo $tree->analyze(); $tree->drop(); */ -?> \ No newline at end of file +?> diff --git a/thirdparty/simplepie/compatibility_test/sp_compatibility_test.php b/thirdparty/simplepie/compatibility_test/sp_compatibility_test.php index 149e08df6..561389717 100644 --- a/thirdparty/simplepie/compatibility_test/sp_compatibility_test.php +++ b/thirdparty/simplepie/compatibility_test/sp_compatibility_test.php @@ -305,4 +305,4 @@ function fnLoadPngs() { - \ No newline at end of file + diff --git a/thirdparty/simplepie/idn/idna_convert.class.php b/thirdparty/simplepie/idn/idna_convert.class.php index ed2bae26d..cce1b6150 100644 --- a/thirdparty/simplepie/idn/idna_convert.class.php +++ b/thirdparty/simplepie/idn/idna_convert.class.php @@ -966,4 +966,4 @@ class Net_IDNA_php4 extends idna_convert } } -?> \ No newline at end of file +?> diff --git a/thirdparty/simpletest/cookies.php b/thirdparty/simpletest/cookies.php index ed1c025d2..f462e1b67 100644 --- a/thirdparty/simpletest/cookies.php +++ b/thirdparty/simpletest/cookies.php @@ -377,4 +377,4 @@ class SimpleCookieJar { return $pairs; } } -?> \ No newline at end of file +?> diff --git a/thirdparty/simpletest/encoding.php b/thirdparty/simpletest/encoding.php index 112fe3304..162d09eed 100644 --- a/thirdparty/simpletest/encoding.php +++ b/thirdparty/simpletest/encoding.php @@ -549,4 +549,4 @@ class SimpleMultipartEncoding extends SimplePostEncoding { return $stream; } } -?> \ No newline at end of file +?> diff --git a/thirdparty/simpletest/selector.php b/thirdparty/simpletest/selector.php index de044b85a..c33af1bfc 100644 --- a/thirdparty/simpletest/selector.php +++ b/thirdparty/simpletest/selector.php @@ -134,4 +134,4 @@ class SimpleByLabelOrName { return ($widget->getName() == $this->_label); } } -?> \ No newline at end of file +?> diff --git a/thirdparty/simpletest/socket.php b/thirdparty/simpletest/socket.php index 3ad5a9ff4..1d4c97ba6 100644 --- a/thirdparty/simpletest/socket.php +++ b/thirdparty/simpletest/socket.php @@ -213,4 +213,4 @@ class SimpleSecureSocket extends SimpleSocket { return parent::_openSocket("tls://$host", $port, $error_number, $error, $timeout); } } -?> \ No newline at end of file +?> diff --git a/thirdparty/simpletest/tag.php b/thirdparty/simpletest/tag.php index b7749db03..e91396513 100644 --- a/thirdparty/simpletest/tag.php +++ b/thirdparty/simpletest/tag.php @@ -1415,4 +1415,3 @@ class SimpleFrameTag extends SimpleTag { return false; } } - diff --git a/thirdparty/spyc/php4/5to4.php b/thirdparty/spyc/php4/5to4.php index 278962010..2f2af7970 100644 --- a/thirdparty/spyc/php4/5to4.php +++ b/thirdparty/spyc/php4/5to4.php @@ -13,4 +13,4 @@ function php5to4 ($src, $dest) { fwrite($f, $code); fclose ($f); print "Written to $dest.\n"; -} \ No newline at end of file +} diff --git a/thirdparty/spyc/spyc.php b/thirdparty/spyc/spyc.php index ec16afd3e..fb11c6646 100644 --- a/thirdparty/spyc/spyc.php +++ b/thirdparty/spyc/spyc.php @@ -1011,4 +1011,4 @@ do { $file = $argv[1]; printf ("Spyc loading file: %s\n", $file); print_r (spyc_load_file ($file)); -} while (0); \ No newline at end of file +} while (0); diff --git a/thirdparty/tinymce-spellchecker/classes/utils/Logger.php b/thirdparty/tinymce-spellchecker/classes/utils/Logger.php index bc501ea75..e2a64069c 100644 --- a/thirdparty/tinymce-spellchecker/classes/utils/Logger.php +++ b/thirdparty/tinymce-spellchecker/classes/utils/Logger.php @@ -265,4 +265,4 @@ class Moxiecode_Logger { } } -?> \ No newline at end of file +?> diff --git a/thirdparty/tinymce-spellchecker/includes/general.php b/thirdparty/tinymce-spellchecker/includes/general.php index ffea3a0c1..602b11940 100644 --- a/thirdparty/tinymce-spellchecker/includes/general.php +++ b/thirdparty/tinymce-spellchecker/includes/general.php @@ -95,4 +95,4 @@ function fatal($msg) { $log->fatal(implode(', ', $args)); } -?> \ No newline at end of file +?> diff --git a/view/ArrayData.php b/view/ArrayData.php index 09b553c1e..3cf28609d 100644 --- a/view/ArrayData.php +++ b/view/ArrayData.php @@ -109,4 +109,4 @@ class ArrayData extends ViewableData { return $this->toMap(); } -} \ No newline at end of file +} diff --git a/view/TemplateIteratorProvider.php b/view/TemplateIteratorProvider.php index 22603b916..8f01639ee 100644 --- a/view/TemplateIteratorProvider.php +++ b/view/TemplateIteratorProvider.php @@ -45,4 +45,4 @@ interface TemplateIteratorProvider { public function iteratorProperties($pos, $totalItems); } -?> \ No newline at end of file +?>