Skip to content

Commit

Permalink
MINOR Add newline to end of files without one
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwelsh authored and halkyon committed Apr 14, 2012
1 parent f57a763 commit f8082e4
Show file tree
Hide file tree
Showing 211 changed files with 213 additions and 212 deletions.
2 changes: 1 addition & 1 deletion admin/code/CMSBatchAction.php
Expand Up @@ -146,4 +146,4 @@ function getParameterFields() {
function canView() {
return true;
}
}
}
2 changes: 1 addition & 1 deletion admin/code/CMSPreviewable.php
Expand Up @@ -22,4 +22,4 @@ function Link();
*/
function CMSEditLink();

}
}
2 changes: 1 addition & 1 deletion admin/code/CMSProfileController.php
Expand Up @@ -32,4 +32,4 @@ function canView($member = null) {

return true;
}
}
}
2 changes: 1 addition & 1 deletion admin/code/LeftAndMainDecorator.php
Expand Up @@ -11,4 +11,4 @@ public function __construct() {
parent::__construct();
}

}
}
2 changes: 1 addition & 1 deletion admin/code/LeftAndMainExtension.php
Expand Up @@ -16,4 +16,4 @@ function accessedCMS() {
function augmentNewSiteTreeItem(&$item) {
}

}
}
2 changes: 1 addition & 1 deletion admin/tests/CMSMenuTest.php
Expand Up @@ -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;
}
}
2 changes: 1 addition & 1 deletion admin/thirdparty/history-js/tests.src/each.php
Expand Up @@ -48,4 +48,4 @@
<!-- Tests -->
<script src="tests.js"></script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion api/XMLDataFormatter.php
Expand Up @@ -149,4 +149,4 @@ public function convertDataObjectSet(SS_List $set, $fields = null) {
public function convertStringToArray($strData) {
return Convert::xml2array($strData);
}
}
}
2 changes: 1 addition & 1 deletion cache/Cache.php
Expand Up @@ -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]);
}
}
}
2 changes: 1 addition & 1 deletion cli/CliController.php
Expand Up @@ -37,4 +37,4 @@ function index() {
*/
function process() {}

}
}
2 changes: 1 addition & 1 deletion control/PjaxResponseNegotiator.php
Expand Up @@ -66,4 +66,4 @@ public function respond(SS_HTTPRequest $request, $extraCallbacks = array()) {
public function setCallback($fragment, $callback) {
$this->callbacks[$fragment] = $callback;
}
}
}
2 changes: 1 addition & 1 deletion core/Config.php
Expand Up @@ -499,4 +499,4 @@ function get($name, $sourceOptions = 0) {
function forClass($class) {
return Config::inst()->forClass($class);
}
}
}
2 changes: 1 addition & 1 deletion core/DAG.php
Expand Up @@ -71,4 +71,4 @@ function sort() {
if ($dag) throw new Exception("DAG has cyclic requirements");
return $sorted;
}
}
}
2 changes: 1 addition & 1 deletion core/HTMLCleaner.php
Expand Up @@ -95,4 +95,4 @@ public function cleanHTML($content) {
$output = $tidy->repairString($content, $this->config);
return $output;
}
}
}
2 changes: 1 addition & 1 deletion core/PaginatedList.php
Expand Up @@ -406,4 +406,4 @@ public function setPageLimits($pageStart, $pageLength, $totalSize) {
$this->setTotalSize($totalSize);
}

}
}
2 changes: 1 addition & 1 deletion core/manifest/ConfigManifest.php
Expand Up @@ -490,4 +490,4 @@ function mergeInYamlFragment(&$into, $fragment) {
}
}

}
}
2 changes: 1 addition & 1 deletion core/manifest/ManifestFileFinder.php
Expand Up @@ -64,4 +64,4 @@ public function acceptDir($basename, $pathname, $depth) {
return parent::acceptDir($basename, $pathname, $depth);
}

}
}
2 changes: 1 addition & 1 deletion core/manifest/TemplateLoader.php
Expand Up @@ -92,4 +92,4 @@ public function findTemplates($templates, $theme = null) {
return $result;
}

}
}
2 changes: 1 addition & 1 deletion core/manifest/TemplateManifest.php
Expand Up @@ -151,4 +151,4 @@ protected function init() {
}
}

}
}
2 changes: 1 addition & 1 deletion core/manifest/TokenisedRegularExpression.php
Expand Up @@ -97,4 +97,4 @@ function matchFrom($tokenPos, $expressionPos, &$tokens, &$matches) {
return false;

}
}
}
2 changes: 1 addition & 1 deletion dev/Backtrace.php
Expand Up @@ -181,4 +181,4 @@ static function get_rendered_backtrace($bt, $plainText = false, $ignoredFunction
return $result;
}

}
}
2 changes: 1 addition & 1 deletion dev/CSSContentParser.php
Expand Up @@ -107,4 +107,4 @@ function selector2xpath($selector) {
}


}
}
2 changes: 1 addition & 1 deletion dev/CodeViewer.php
Expand Up @@ -348,4 +348,4 @@ function testAnalysis($file) {

}
}
}
}
2 changes: 1 addition & 1 deletion dev/Deprecation.php
Expand Up @@ -179,4 +179,4 @@ public static function restore_settings($settings) {
self::$version = $settings['version'];
self::$module_version_overrides = $settings['moduleVersions'];
}
}
}
2 changes: 1 addition & 1 deletion dev/Log.php
Expand Up @@ -180,4 +180,4 @@ public static function log($message, $priority, $extras = null) {
}
}

}
}
2 changes: 1 addition & 1 deletion dev/LogEmailWriter.php
Expand Up @@ -81,4 +81,4 @@ public function _write($event) {
if($this->customSmtpServer) ini_set('SMTP', $originalSMTP);
}

}
}
2 changes: 1 addition & 1 deletion dev/LogErrorEmailFormatter.php
Expand Up @@ -76,4 +76,4 @@ public function format($event) {
);
}

}
}
2 changes: 1 addition & 1 deletion dev/LogErrorFileFormatter.php
Expand Up @@ -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;
}

}
}
2 changes: 1 addition & 1 deletion dev/LogFileWriter.php
Expand Up @@ -61,4 +61,4 @@ public function _write($event) {
error_log($message, $this->messageType, $this->path, $this->extraHeaders);
}

}
}
2 changes: 1 addition & 1 deletion dev/SysLogWriter.php
Expand Up @@ -48,4 +48,4 @@ public function _write($event) {
syslog($event['priority'], $this->_formatter->format($event));
}

}
}
2 changes: 1 addition & 1 deletion dev/TestListener.php
Expand Up @@ -45,4 +45,4 @@ public function endTestSuite(PHPUnit_Framework_TestSuite $suite) {
protected function isValidClass($name) {
return (class_exists($name) && is_subclass_of($name, 'SapphireTest'));
}
}
}
2 changes: 1 addition & 1 deletion dev/TestMailer.php
Expand Up @@ -83,4 +83,4 @@ function findEmail($to, $from = null, $subject = null, $content = null) {
}


}
}
2 changes: 1 addition & 1 deletion dev/TestSession.php
Expand Up @@ -213,4 +213,4 @@ function getUrl() {
function getRequestData() {
return null;
}
}
}
2 changes: 1 addition & 1 deletion dev/TestViewer.php
Expand Up @@ -254,4 +254,4 @@ function testAnalysis($file) {

}
}
}
}
2 changes: 1 addition & 1 deletion dev/ZendLog.php
Expand Up @@ -40,4 +40,4 @@ public function clearWriters() {
$this->_writers = array();
}

}
}
2 changes: 1 addition & 1 deletion dev/install/DatabaseAdapterRegistry.php
Expand Up @@ -78,4 +78,4 @@ static function get_adapters() {
return self::$adapters;
}

}
}
2 changes: 1 addition & 1 deletion dev/install/DatabaseConfigurationHelper.php
Expand Up @@ -39,4 +39,4 @@ public function requireDatabaseConnection($databaseConfig);
*/
public function requireDatabaseOrCreatePermissions($databaseConfig);

}
}
2 changes: 1 addition & 1 deletion filesystem/FileFinder.php
Expand Up @@ -226,4 +226,4 @@ protected function acceptFile($basename, $pathname, $depth) {
return true;
}

}
}
2 changes: 1 addition & 1 deletion filesystem/FileNameFilter.php
Expand Up @@ -118,4 +118,4 @@ function setTransliterator($t) {
function getDefaultName() {
return (string)uniqid();
}
}
}
2 changes: 1 addition & 1 deletion forms/CheckboxField.php
Expand Up @@ -65,4 +65,4 @@ function Value() {
return Convert::raw2xml($this->value ? _t('CheckboxField.YES', 'Yes') : _t('CheckboxField.NO', 'No'));
}

}
}
2 changes: 1 addition & 1 deletion forms/DatalessField.php
Expand Up @@ -72,4 +72,4 @@ function Type() {
return 'readonly';
}

}
}
2 changes: 1 addition & 1 deletion forms/FieldList.php
Expand Up @@ -565,4 +565,4 @@ function forTemplate() {
}
return $output;
}
}
}
2 changes: 1 addition & 1 deletion forms/FormAction.php
Expand Up @@ -135,4 +135,4 @@ function performReadonlyTransformation() {
return $clone;
}

}
}
2 changes: 1 addition & 1 deletion forms/FormScaffolder.php
Expand Up @@ -181,4 +181,4 @@ protected function getParamsArray() {
'ajaxSafe' => $this->ajaxSafe
);
}
}
}
3 changes: 2 additions & 1 deletion forms/HeaderField.php
Expand Up @@ -53,4 +53,5 @@ function getAttributes() {
function Type() {
return null;
}
}

}
2 changes: 1 addition & 1 deletion forms/HiddenField.php
Expand Up @@ -27,4 +27,4 @@ function getAttributes() {
array('type' => 'hidden')
);
}
}
}
2 changes: 1 addition & 1 deletion forms/ImageField.php
Expand Up @@ -54,4 +54,4 @@ public function EditFileForm() {

return $form;
}
}
}
2 changes: 1 addition & 1 deletion forms/LabelField.php
Expand Up @@ -27,4 +27,4 @@ function __construct($name, $title) {
parent::__construct($name, $title);
}

}
}
2 changes: 1 addition & 1 deletion forms/ListboxField.php
Expand Up @@ -277,4 +277,4 @@ function getDefaultItems() {
return $this->defaultItems;
}

}
}
2 changes: 1 addition & 1 deletion forms/LiteralField.php
Expand Up @@ -73,4 +73,4 @@ function performReadonlyTransformation() {
return $clone;
}

}
}
2 changes: 1 addition & 1 deletion forms/NestedForm.php
Expand Up @@ -27,4 +27,4 @@ function Actions() {
}
return $actions;
}
}
}
2 changes: 1 addition & 1 deletion forms/ReadonlyField.php
Expand Up @@ -33,4 +33,4 @@ function getAttributes() {
function Type() {
return 'readonly';
}
}
}
2 changes: 1 addition & 1 deletion forms/ResetFormAction.php
Expand Up @@ -18,4 +18,4 @@ function Type() {
return 'resetformaction';
}

}
}
2 changes: 1 addition & 1 deletion forms/SimpleImageField.php
Expand Up @@ -164,4 +164,4 @@ function Field($properties = array()) {
return $field;
}

}
}
5 changes: 3 additions & 2 deletions forms/TextField.php
Expand Up @@ -50,5 +50,6 @@ function getAttributes() {
function InternallyLabelledField() {
if(!$this->value) $this->value = $this->Title();
return $this->Field();
}
}
}

}
2 changes: 1 addition & 1 deletion forms/TextareaField.php
Expand Up @@ -116,4 +116,4 @@ function setColumns($cols) {
function Value() {
return htmlentities($this->value, ENT_COMPAT, 'UTF-8');
}
}
}

0 comments on commit f8082e4

Please sign in to comment.