Skip to content
This repository
Browse code

MINOR Add newline to end of files without one

  • Loading branch information...
commit b8e86ae26183634faa4ad2c96a7b729dc605c207 1 parent dccde5f
Simon Welsh authored April 12, 2012 halkyon committed April 15, 2012

Showing 30 changed files with 31 additions and 30 deletions. Show diff stats Hide diff stats

  1. 2  code/batchactions/CMSBatchActions.php
  2. 2  code/controllers/CMSPageAddController.php
  3. 2  code/controllers/CMSPageEditController.php
  4. 2  code/controllers/CMSPageHistoryController.php
  5. 2  code/controllers/CMSPageSettingsController.php
  6. 2  code/controllers/CMSPagesController.php
  7. 2  code/controllers/CMSSiteTreeFilter.php
  8. 2  code/forms/FolderUnusedAssetsField.php
  9. 3  code/forms/SiteTreeURLSegmentField.php
  10. 2  code/model/SiteTreeDecorator.php
  11. 2  code/model/SiteTreeExtension.php
  12. 2  code/search/ContentControllerSearchExtension.php
  13. 2  tasks/FilesystemSyncTask.php
  14. 2  tasks/MigrateSiteTreeLinkingTask.php
  15. 2  tests/controller/CMSPageHistoryControllerTest.php
  16. 2  tests/controller/CMSSiteTreeFilterTest.php
  17. 2  tests/controller/ContentControllerPermissionsTest.php
  18. 2  tests/controller/ContentControllerSearchExtensionTest.php
  19. 2  tests/controller/ContentControllerTest.php
  20. 2  tests/controller/ModelAsControllerTest.php
  21. 2  tests/controller/RootURLControllerTest.php
  22. 2  tests/controller/SilverStripeNavigatorTest.php
  23. 2  tests/model/RedirectorPageTest.php
  24. 2  tests/model/SiteTreeTest.php
  25. 2  tests/reports/ReportTest.php
  26. 2  tests/reports/SideReportTest.php
  27. 2  tests/search/CMSMainSearchFormTest.php
  28. 2  tests/staticpublisher/FilesystemPublisherTest.php
  29. 2  tests/tasks/MigrateSiteTreeLinkingTaskTest.php
  30. 2  tests/widgets/WidgetControllerTestPage.php
2  code/batchactions/CMSBatchActions.php
@@ -129,4 +129,4 @@ function run(SS_List $pages) {
129 129
 	function applicablePages($ids) {
130 130
 		return $this->applicablePagesHelper($ids, 'canDelete', false, true);
131 131
 	}
132  
-}
  132
+}
2  code/controllers/CMSPageAddController.php
@@ -141,4 +141,4 @@ public function doAdd($data, $form) {
141 141
 		return $this->redirect(Controller::join_links(singleton('CMSPageEditController')->Link('show'), $record->ID));
142 142
 	}
143 143
 
144  
-}
  144
+}
2  code/controllers/CMSPageEditController.php
@@ -16,4 +16,4 @@ public function Breadcrumbs($unlinked = false) {
16 16
 		$crumbs->shift();
17 17
 		return $crumbs;
18 18
 	}
19  
-}
  19
+}
2  code/controllers/CMSPageHistoryController.php
@@ -376,4 +376,4 @@ public function Breadcrumbs($unlinked = false) {
376 376
 		$crumbs->shift();
377 377
 		return $crumbs;
378 378
 	}
379  
-}
  379
+}
2  code/controllers/CMSPageSettingsController.php
@@ -22,4 +22,4 @@ public function Breadcrumbs($unlinked = false) {
22 22
 		$crumbs->shift();
23 23
 		return $crumbs;
24 24
 	}
25  
-}
  25
+}
2  code/controllers/CMSPagesController.php
@@ -46,4 +46,4 @@ function AddLink() {
46 46
 	public function currentPageID() {
47 47
 		return false;
48 48
 	}
49  
-}
  49
+}
2  code/controllers/CMSSiteTreeFilter.php
@@ -215,4 +215,4 @@ function pagesIncluded() {
215 215
 		
216 216
 		return $ids;
217 217
 	}
218  
-}
  218
+}
2  code/forms/FolderUnusedAssetsField.php
@@ -49,4 +49,4 @@ protected function getAssetList() {
49 49
 		$field = new GridField('AssetList', false, $files);
50 50
 		return $field;
51 51
 	}
52  
-}
  52
+}
3  code/forms/SiteTreeURLSegmentField.php
@@ -78,4 +78,5 @@ function getURLPrefix(){
78 78
 	function Type() {
79 79
 		return 'text sitetreeurlsegment';
80 80
 	}
81  
-}
  81
+
  82
+}
2  code/model/SiteTreeDecorator.php
@@ -11,4 +11,4 @@ public function __construct() {
11 11
 		parent::__construct();
12 12
 	}
13 13
 
14  
-}
  14
+}
2  code/model/SiteTreeExtension.php
@@ -26,4 +26,4 @@ function canPublish($member) {
26 26
 		
27 27
 	}
28 28
 
29  
-}
  29
+}
2  code/search/ContentControllerSearchExtension.php
@@ -47,4 +47,4 @@ function results($data, $form, $request) {
47 47
 		);
48 48
 		return $this->owner->customise($data)->renderWith(array('Page_results', 'Page'));
49 49
 	}
50  
-}
  50
+}
2  tasks/FilesystemSyncTask.php
@@ -22,4 +22,4 @@ function run($request) {
22 22
 		echo Filesystem::sync($folderID, !($request->getVar('skipSyncLinkTracking'))) . "\n";
23 23
 	}
24 24
 	
25  
-}
  25
+}
2  tasks/MigrateSiteTreeLinkingTask.php
@@ -44,4 +44,4 @@ public function run($request) {
44 44
 		echo "Rewrote $links link(s) on $pages page(s) to use shortcodes.\n";
45 45
 	}
46 46
 	
47  
-}
  47
+}
2  tests/controller/CMSPageHistoryControllerTest.php
@@ -142,4 +142,4 @@ function testVersionsFormSelectsUnpublishedCheckbox() {
142 142
 		$this->assertThat($checkbox[0], $this->logicalNot($this->isNull()));
143 143
 		$this->assertEquals('checked', (string) $checkbox[0]->attributes()->checked);
144 144
 	}
145  
-}
  145
+}
2  tests/controller/CMSSiteTreeFilterTest.php
@@ -84,4 +84,4 @@ function testDeletedPagesFilter() {
84 84
 
85 85
 		$this->assertTrue($f->isPageIncluded($deletedPage));
86 86
 	}
87  
-}
  87
+}
2  tests/controller/ContentControllerPermissionsTest.php
@@ -33,4 +33,4 @@ public function testCanViewStage() {
33 33
 	}
34 34
 	
35 35
 	
36  
-}
  36
+}
2  tests/controller/ContentControllerSearchExtensionTest.php
@@ -14,4 +14,4 @@ function testCustomSearchFormClassesToTest() {
14 14
 		
15 15
 		if (get_class($form) == 'SearchForm') $this->assertEquals(array('File'), $form->getClassesToSearch());
16 16
 	}
17  
-}
  17
+}
2  tests/controller/ContentControllerTest.php
@@ -141,4 +141,4 @@ public function second_index() {
141 141
 		return $this->index();
142 142
 	}
143 143
 
144  
-}
  144
+}
2  tests/controller/ModelAsControllerTest.php
@@ -234,4 +234,4 @@ function testFindOldPage(){
234 234
 		$this->assertEquals(false, $response );
235 235
 	}
236 236
 	
237  
-}
  237
+}
2  tests/controller/RootURLControllerTest.php
@@ -15,4 +15,4 @@ public function testGetHomepageLink() {
15 15
 		$this->assertEquals('home', RootURLController::get_homepage_link());
16 16
 	}
17 17
 	
18  
-}
  18
+}
2  tests/controller/SilverStripeNavigatorTest.php
@@ -51,4 +51,4 @@ function canView($member = null) {
51 51
 		if(!$member) $member = Member::currentUser();
52 52
 		return Permission::checkMember($member, 'ADMIN');
53 53
 	}
54  
-}
  54
+}
2  tests/model/RedirectorPageTest.php
@@ -50,4 +50,4 @@ function testExternalURLGetsPrefixIfNotSet() {
50 50
 		$page->write();
51 51
 		$this->assertEquals($page->ExternalURL, 'http://google.com', 'onBeforeWrite will not double prefix if written again!');
52 52
 	}
53  
-}
  53
+}
2  tests/model/SiteTreeTest.php
@@ -945,4 +945,4 @@ function getStatusFlags(){
945 945
 		$flags['inherited-class'] = "InheritedTitle";
946 946
 		return $flags;
947 947
 	}
948  
-}
  948
+}
2  tests/reports/ReportTest.php
@@ -82,4 +82,4 @@ function sourceRecords($params, $sort, $limit) {
82 82
 	function sort() {
83 83
 		return 98;
84 84
 	}
85  
-}
  85
+}
2  tests/reports/SideReportTest.php
@@ -39,4 +39,4 @@ function testRecentlyEdited() {
39 39
 		
40 40
 		SS_DateTime::clear_mock_now();
41 41
 	}
42  
-}
  42
+}
2  tests/search/CMSMainSearchFormTest.php
@@ -32,4 +32,4 @@ protected function getPageTitles() {
32 32
 		}
33 33
 		return $titles;
34 34
 	}
35  
-}
  35
+}
2  tests/staticpublisher/FilesystemPublisherTest.php
@@ -157,4 +157,4 @@ function testStaticPublisherTheme(){
157 157
 		
158 158
 	}
159 159
 	
160  
-}
  160
+}
2  tests/tasks/MigrateSiteTreeLinkingTaskTest.php
@@ -77,4 +77,4 @@ public function testLinkingMigration() {
77 77
 		);
78 78
 	}
79 79
 	
80  
-}
  80
+}
2  tests/widgets/WidgetControllerTestPage.php
@@ -24,4 +24,4 @@ function getViewer($action) {
24 24
 		
25 25
 		return new SSViewer($templates);
26 26
 	}
27  
-}
  27
+}

0 notes on commit b8e86ae

Please sign in to comment.
Something went wrong with that request. Please try again.