Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Add newline to end of files without one

  • Loading branch information...
commit b8e86ae26183634faa4ad2c96a7b729dc605c207 1 parent dccde5f
Simon Welsh simonwelsh authored halkyon committed
Showing with 31 additions and 30 deletions.
  1. +1 −1  code/batchactions/CMSBatchActions.php
  2. +1 −1  code/controllers/CMSPageAddController.php
  3. +1 −1  code/controllers/CMSPageEditController.php
  4. +1 −1  code/controllers/CMSPageHistoryController.php
  5. +1 −1  code/controllers/CMSPageSettingsController.php
  6. +1 −1  code/controllers/CMSPagesController.php
  7. +1 −1  code/controllers/CMSSiteTreeFilter.php
  8. +1 −1  code/forms/FolderUnusedAssetsField.php
  9. +2 −1  code/forms/SiteTreeURLSegmentField.php
  10. +1 −1  code/model/SiteTreeDecorator.php
  11. +1 −1  code/model/SiteTreeExtension.php
  12. +1 −1  code/search/ContentControllerSearchExtension.php
  13. +1 −1  tasks/FilesystemSyncTask.php
  14. +1 −1  tasks/MigrateSiteTreeLinkingTask.php
  15. +1 −1  tests/controller/CMSPageHistoryControllerTest.php
  16. +1 −1  tests/controller/CMSSiteTreeFilterTest.php
  17. +1 −1  tests/controller/ContentControllerPermissionsTest.php
  18. +1 −1  tests/controller/ContentControllerSearchExtensionTest.php
  19. +1 −1  tests/controller/ContentControllerTest.php
  20. +1 −1  tests/controller/ModelAsControllerTest.php
  21. +1 −1  tests/controller/RootURLControllerTest.php
  22. +1 −1  tests/controller/SilverStripeNavigatorTest.php
  23. +1 −1  tests/model/RedirectorPageTest.php
  24. +1 −1  tests/model/SiteTreeTest.php
  25. +1 −1  tests/reports/ReportTest.php
  26. +1 −1  tests/reports/SideReportTest.php
  27. +1 −1  tests/search/CMSMainSearchFormTest.php
  28. +1 −1  tests/staticpublisher/FilesystemPublisherTest.php
  29. +1 −1  tests/tasks/MigrateSiteTreeLinkingTaskTest.php
  30. +1 −1  tests/widgets/WidgetControllerTestPage.php
2  code/batchactions/CMSBatchActions.php
View
@@ -129,4 +129,4 @@ function run(SS_List $pages) {
function applicablePages($ids) {
return $this->applicablePagesHelper($ids, 'canDelete', false, true);
}
-}
+}
2  code/controllers/CMSPageAddController.php
View
@@ -141,4 +141,4 @@ public function doAdd($data, $form) {
return $this->redirect(Controller::join_links(singleton('CMSPageEditController')->Link('show'), $record->ID));
}
-}
+}
2  code/controllers/CMSPageEditController.php
View
@@ -16,4 +16,4 @@ public function Breadcrumbs($unlinked = false) {
$crumbs->shift();
return $crumbs;
}
-}
+}
2  code/controllers/CMSPageHistoryController.php
View
@@ -376,4 +376,4 @@ public function Breadcrumbs($unlinked = false) {
$crumbs->shift();
return $crumbs;
}
-}
+}
2  code/controllers/CMSPageSettingsController.php
View
@@ -22,4 +22,4 @@ public function Breadcrumbs($unlinked = false) {
$crumbs->shift();
return $crumbs;
}
-}
+}
2  code/controllers/CMSPagesController.php
View
@@ -46,4 +46,4 @@ function AddLink() {
public function currentPageID() {
return false;
}
-}
+}
2  code/controllers/CMSSiteTreeFilter.php
View
@@ -215,4 +215,4 @@ function pagesIncluded() {
return $ids;
}
-}
+}
2  code/forms/FolderUnusedAssetsField.php
View
@@ -49,4 +49,4 @@ protected function getAssetList() {
$field = new GridField('AssetList', false, $files);
return $field;
}
-}
+}
3  code/forms/SiteTreeURLSegmentField.php
View
@@ -78,4 +78,5 @@ function getURLPrefix(){
function Type() {
return 'text sitetreeurlsegment';
}
-}
+
+}
2  code/model/SiteTreeDecorator.php
View
@@ -11,4 +11,4 @@ public function __construct() {
parent::__construct();
}
-}
+}
2  code/model/SiteTreeExtension.php
View
@@ -26,4 +26,4 @@ function canPublish($member) {
}
-}
+}
2  code/search/ContentControllerSearchExtension.php
View
@@ -47,4 +47,4 @@ function results($data, $form, $request) {
);
return $this->owner->customise($data)->renderWith(array('Page_results', 'Page'));
}
-}
+}
2  tasks/FilesystemSyncTask.php
View
@@ -22,4 +22,4 @@ function run($request) {
echo Filesystem::sync($folderID, !($request->getVar('skipSyncLinkTracking'))) . "\n";
}
-}
+}
2  tasks/MigrateSiteTreeLinkingTask.php
View
@@ -44,4 +44,4 @@ public function run($request) {
echo "Rewrote $links link(s) on $pages page(s) to use shortcodes.\n";
}
-}
+}
2  tests/controller/CMSPageHistoryControllerTest.php
View
@@ -142,4 +142,4 @@ function testVersionsFormSelectsUnpublishedCheckbox() {
$this->assertThat($checkbox[0], $this->logicalNot($this->isNull()));
$this->assertEquals('checked', (string) $checkbox[0]->attributes()->checked);
}
-}
+}
2  tests/controller/CMSSiteTreeFilterTest.php
View
@@ -84,4 +84,4 @@ function testDeletedPagesFilter() {
$this->assertTrue($f->isPageIncluded($deletedPage));
}
-}
+}
2  tests/controller/ContentControllerPermissionsTest.php
View
@@ -33,4 +33,4 @@ public function testCanViewStage() {
}
-}
+}
2  tests/controller/ContentControllerSearchExtensionTest.php
View
@@ -14,4 +14,4 @@ function testCustomSearchFormClassesToTest() {
if (get_class($form) == 'SearchForm') $this->assertEquals(array('File'), $form->getClassesToSearch());
}
-}
+}
2  tests/controller/ContentControllerTest.php
View
@@ -141,4 +141,4 @@ public function second_index() {
return $this->index();
}
-}
+}
2  tests/controller/ModelAsControllerTest.php
View
@@ -234,4 +234,4 @@ function testFindOldPage(){
$this->assertEquals(false, $response );
}
-}
+}
2  tests/controller/RootURLControllerTest.php
View
@@ -15,4 +15,4 @@ public function testGetHomepageLink() {
$this->assertEquals('home', RootURLController::get_homepage_link());
}
-}
+}
2  tests/controller/SilverStripeNavigatorTest.php
View
@@ -51,4 +51,4 @@ function canView($member = null) {
if(!$member) $member = Member::currentUser();
return Permission::checkMember($member, 'ADMIN');
}
-}
+}
2  tests/model/RedirectorPageTest.php
View
@@ -50,4 +50,4 @@ function testExternalURLGetsPrefixIfNotSet() {
$page->write();
$this->assertEquals($page->ExternalURL, 'http://google.com', 'onBeforeWrite will not double prefix if written again!');
}
-}
+}
2  tests/model/SiteTreeTest.php
View
@@ -945,4 +945,4 @@ function getStatusFlags(){
$flags['inherited-class'] = "InheritedTitle";
return $flags;
}
-}
+}
2  tests/reports/ReportTest.php
View
@@ -82,4 +82,4 @@ function sourceRecords($params, $sort, $limit) {
function sort() {
return 98;
}
-}
+}
2  tests/reports/SideReportTest.php
View
@@ -39,4 +39,4 @@ function testRecentlyEdited() {
SS_DateTime::clear_mock_now();
}
-}
+}
2  tests/search/CMSMainSearchFormTest.php
View
@@ -32,4 +32,4 @@ protected function getPageTitles() {
}
return $titles;
}
-}
+}
2  tests/staticpublisher/FilesystemPublisherTest.php
View
@@ -157,4 +157,4 @@ function testStaticPublisherTheme(){
}
-}
+}
2  tests/tasks/MigrateSiteTreeLinkingTaskTest.php
View
@@ -77,4 +77,4 @@ public function testLinkingMigration() {
);
}
-}
+}
2  tests/widgets/WidgetControllerTestPage.php
View
@@ -24,4 +24,4 @@ function getViewer($action) {
return new SSViewer($templates);
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.