MINOR Add newline to end of files without one

This commit is contained in:
Simon Welsh 2012-04-12 19:23:20 +12:00 committed by Sean Harvey
parent dccde5f512
commit b8e86ae261
30 changed files with 31 additions and 30 deletions

View File

@ -129,4 +129,4 @@ class CMSBatchAction_DeleteFromLive extends CMSBatchAction {
function applicablePages($ids) {
return $this->applicablePagesHelper($ids, 'canDelete', false, true);
}
}
}

View File

@ -141,4 +141,4 @@ class CMSPageAddController extends CMSPageEditController {
return $this->redirect(Controller::join_links(singleton('CMSPageEditController')->Link('show'), $record->ID));
}
}
}

View File

@ -16,4 +16,4 @@ class CMSPageEditController extends CMSMain {
$crumbs->shift();
return $crumbs;
}
}
}

View File

@ -376,4 +376,4 @@ class CMSPageHistoryController extends CMSMain {
$crumbs->shift();
return $crumbs;
}
}
}

View File

@ -22,4 +22,4 @@ class CMSPageSettingsController extends CMSMain {
$crumbs->shift();
return $crumbs;
}
}
}

View File

@ -46,4 +46,4 @@ class CMSPagesController extends CMSMain {
public function currentPageID() {
return false;
}
}
}

View File

@ -215,4 +215,4 @@ class CMSSiteTreeFilter_Search extends CMSSiteTreeFilter {
return $ids;
}
}
}

View File

@ -49,4 +49,4 @@ class Folder_UnusedAssetsField extends CompositeField {
$field = new GridField('AssetList', false, $files);
return $field;
}
}
}

View File

@ -78,4 +78,5 @@ class SiteTreeURLSegmentField extends TextField {
function Type() {
return 'text sitetreeurlsegment';
}
}
}

View File

@ -11,4 +11,4 @@ abstract class SiteTreeDecorator extends SiteTreeExtension {
parent::__construct();
}
}
}

View File

@ -26,4 +26,4 @@ abstract class SiteTreeExtension extends DataExtension {
}
}
}

View File

@ -47,4 +47,4 @@ class ContentControllerSearchExtension extends Extension {
);
return $this->owner->customise($data)->renderWith(array('Page_results', 'Page'));
}
}
}

View File

@ -22,4 +22,4 @@ class FilesystemSyncTask extends BuildTask {
echo Filesystem::sync($folderID, !($request->getVar('skipSyncLinkTracking'))) . "\n";
}
}
}

View File

@ -44,4 +44,4 @@ class MigrateSiteTreeLinkingTask extends BuildTask {
echo "Rewrote $links link(s) on $pages page(s) to use shortcodes.\n";
}
}
}

View File

@ -142,4 +142,4 @@ class CMSPageHistoryControllerTest extends FunctionalTest {
$this->assertThat($checkbox[0], $this->logicalNot($this->isNull()));
$this->assertEquals('checked', (string) $checkbox[0]->attributes()->checked);
}
}
}

View File

@ -84,4 +84,4 @@ class CMSSiteTreeFilterTest extends SapphireTest {
$this->assertTrue($f->isPageIncluded($deletedPage));
}
}
}

View File

@ -33,4 +33,4 @@ class ContentControllerPermissionsTest extends FunctionalTest {
}
}
}

View File

@ -14,4 +14,4 @@ class ContentControllerSearchExtensionTest extends SapphireTest {
if (get_class($form) == 'SearchForm') $this->assertEquals(array('File'), $form->getClassesToSearch());
}
}
}

View File

@ -141,4 +141,4 @@ class ContentControllerTest_Page_Controller extends Page_Controller {
return $this->index();
}
}
}

View File

@ -234,4 +234,4 @@ class ModelAsControllerTest extends FunctionalTest {
$this->assertEquals(false, $response );
}
}
}

View File

@ -15,4 +15,4 @@ class RootURLControllerTest extends SapphireTest {
$this->assertEquals('home', RootURLController::get_homepage_link());
}
}
}

View File

@ -51,4 +51,4 @@ class SilverStripeNavigatorTest_ProtectedTestItem extends SilverStripeNavigatorI
if(!$member) $member = Member::currentUser();
return Permission::checkMember($member, 'ADMIN');
}
}
}

View File

@ -50,4 +50,4 @@ class RedirectorPageTest extends FunctionalTest {
$page->write();
$this->assertEquals($page->ExternalURL, 'http://google.com', 'onBeforeWrite will not double prefix if written again!');
}
}
}

View File

@ -945,4 +945,4 @@ class SiteTreeTest_StageStatusInherit extends SiteTree implements TestOnly {
$flags['inherited-class'] = "InheritedTitle";
return $flags;
}
}
}

View File

@ -82,4 +82,4 @@ class ReportTest_FakeTest2 extends SS_Report implements TestOnly {
function sort() {
return 98;
}
}
}

View File

@ -39,4 +39,4 @@ class SideReportTest extends SapphireTest {
SS_DateTime::clear_mock_now();
}
}
}

View File

@ -32,4 +32,4 @@ class CMSMainSearchFormTest extends FunctionalTest {
}
return $titles;
}
}
}

View File

@ -157,4 +157,4 @@ class FilesystemPublisherTest extends SapphireTest {
}
}
}

View File

@ -77,4 +77,4 @@ class MigrateSiteTreeLinkingTaskTest extends SapphireTest {
);
}
}
}

View File

@ -24,4 +24,4 @@ class WidgetControllerTestPage_Controller extends Page_Controller implements Tes
return new SSViewer($templates);
}
}
}